We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48edc83 commit 4b1cebbCopy full SHA for 4b1cebb
tests/ui/track-diagnostics.rs
@@ -3,7 +3,7 @@
3
4
// Normalize the emitted location so this doesn't need
5
// updating everytime someone adds or removes a line.
6
-// normalize-stderr-test ".rs:\d+:\d+" -> ".rs:$$LINE::$$COL"
+// normalize-stderr-test ".rs:\d+:\d+" -> ".rs:LL:CC"
7
8
struct A;
9
struct B;
tests/ui/track-diagnostics.stderr
@@ -1,9 +1,9 @@
1
error[E0308]: mismatched types
2
- --> $DIR/track-diagnostics.rs:$LINE::$COL
+ --> $DIR/track-diagnostics.rs:LL:CC
|
LL | const S: A = B;
| ^ expected struct `A`, found struct `B`
--Ztrack-diagnostics: created at compiler/rustc_infer/src/infer/error_reporting/mod.rs:$LINE::$COL
+-Ztrack-diagnostics: created at compiler/rustc_infer/src/infer/error_reporting/mod.rs:LL:CC
error: aborting due to previous error
0 commit comments