44b964147e
Add line numbers and columns to error messages spanning multiple files If an error message is emitted that spans several files, only the primary file currently has line and column data attached. This is useful information, even in files other than the one in which the error occurs. We can often work out which line and column the error corresponds to in other files — in this case it is helpful to add them (in the case of ambiguity, the first relevant line/column is picked, which is still helpful than none). |
||
---|---|---|
.. | ||
Cargo.toml | ||
diagnostic_builder.rs | ||
diagnostic.rs | ||
emitter.rs | ||
lib.rs | ||
lock.rs | ||
registry.rs | ||
snippet.rs | ||
styled_buffer.rs |