We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8436fe1 commit c296c89Copy full SHA for c296c89
src/test/ui/remap-path-prefix.rs
@@ -1,5 +1,9 @@
1
// compile-flags: --remap-path-prefix={{src-base}}=remapped
2
3
fn main() {
4
- ferris //~ ERROR cannot find value `ferris` in this scope
+ // We cannot actually put an ERROR marker here because
5
+ // the file name in the error message is not what the
6
+ // test framework expects (since the filename gets remapped).
7
+ // We still test the expected error in the stderr file.
8
+ ferris
9
}
src/test/ui/remap-path-prefix.stderr
@@ -1,5 +1,5 @@
error[E0425]: cannot find value `ferris` in this scope
- --> remapped/remap-path-prefix.rs:4:5
+ --> remapped/remap-path-prefix.rs:8:5
|
LL | ferris
| ^^^^^^ not found in this scope
0 commit comments