5 ms·
I can’t speak for the others, but at least in Rust the column number is at the end of the first line of the error, in format file.rs:line:column, eg main.rs:5:1
by DougBTX 7y ago
I can’t speak for the others, but at least in Rust the column number is at the end of the first line of the error, in format file.rs:line:column, eg main.rs:5:10
There are a few example errors here: https://github.com/rust-lang/rust/issues/36611 https://github.com/rust-lang/rust/issues/36611
Are the annotated code snippets after the first line useless with screen readers? I wonder if there’s a flag to hide just the snippets.
- steveklabnik 7y agoThere is a flag to hide the snippets and give a more compact output; you can also get it in JSON, I believe.
- miki123211 7y agoseems I was mistaken, Rust seems fine. I was probably misremembering, as I haven't played much with it. The point about Python and other still stands, though.