diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/remap-path-prefix.rs | 5 | ||||
| -rw-r--r-- | src/test/ui/remap-path-prefix.stderr | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/remap-path-prefix.rs b/src/test/ui/remap-path-prefix.rs new file mode 100644 index 00000000000..66a397bc7db --- /dev/null +++ b/src/test/ui/remap-path-prefix.rs @@ -0,0 +1,5 @@ +// compile-flags: --remap-path-prefix={{src-base}}=remapped + +fn main() { + ferris //~ ERROR cannot find value `ferris` in this scope +} diff --git a/src/test/ui/remap-path-prefix.stderr b/src/test/ui/remap-path-prefix.stderr new file mode 100644 index 00000000000..a20cf6b4df8 --- /dev/null +++ b/src/test/ui/remap-path-prefix.stderr @@ -0,0 +1,9 @@ +error[E0425]: cannot find value `ferris` in this scope + --> remapped/remap-path-prefix.rs:4:5 + | +LL | ferris + | ^^^^^^ not found in this scope + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0425`. |
