about summary refs log tree commit diff
path: root/tests/codegen/array-codegen.rs
diff options
context:
space:
mode:
authorMartin Nordholts <enselic@gmail.com>2023-09-29 17:39:26 +0200
committerMartin Nordholts <enselic@gmail.com>2023-09-29 17:46:58 +0200
commitdd8ea977b700d9ef6089dea6e5f1353f567c06d1 (patch)
treebbca8169c52286622562f914b155d4a5ee2529a8 /tests/codegen/array-codegen.rs
parent547bcf8bbfec9f29263452786ff6c1d6ebc1b90f (diff)
downloadrust-dd8ea977b700d9ef6089dea6e5f1353f567c06d1.tar.gz
rust-dd8ea977b700d9ef6089dea6e5f1353f567c06d1.zip
vscode: Fix line and col regexp for problem matcher
When building the Rust compiler with `./x check` from within VS Code,
the current `rustc` problem matcher thinks that the output from that
command that looks like this:

    Build completed successfully in 0:00:26

is about a problem in a file named `0` on line 00, col 26. This wouldn't
be so bad if it wasn't for that VS Code tends to get stuck on this
problem because of problems with opening the file '0'.

The rust compiler will never output problems with a line or a column
that starts with 0, so change the regexp to require lines and cols to
begin with [1-9] to fix this problem.
Diffstat (limited to 'tests/codegen/array-codegen.rs')
0 files changed, 0 insertions, 0 deletions