AtomBuild / atom-build-cargo

Cargo (Rust) integration for Atom
MIT License
18 stars 6 forks source link

Handle error spans #16

Closed AndiDog closed 8 years ago

AndiDog commented 8 years ago

rustc may output error spans ("error reaches from line1:col1 to line2:col2"), which must be handled in the regex so the location can be clicked again.

See https://github.com/rust-lang/rust/blob/6941b2569ae1643335462da5a70f1429bad2f2fb/src/libsyntax/codemap.rs#L806

noseglid commented 8 years ago

Awesome. thanks!