summaryrefslogtreecommitdiffstats
path: root/tests/ui/errors/auxiliary/remapped_dep.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/errors/auxiliary/remapped_dep.rs')
-rw-r--r--tests/ui/errors/auxiliary/remapped_dep.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/errors/auxiliary/remapped_dep.rs b/tests/ui/errors/auxiliary/remapped_dep.rs
new file mode 100644
index 000000000..f9bb7bf89
--- /dev/null
+++ b/tests/ui/errors/auxiliary/remapped_dep.rs
@@ -0,0 +1,4 @@
+// compile-flags: --remap-path-prefix={{src-base}}/errors/auxiliary=remapped-aux
+// no-remap-src-base: Manually remap, so the remapped path remains in .stderr file.
+
+pub struct SomeStruct {} // This line should be show as part of the error.