about summary refs log tree commit diff
path: root/tests/ui/errors/remap-path-prefix.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/errors/remap-path-prefix.rs')
-rw-r--r--tests/ui/errors/remap-path-prefix.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/errors/remap-path-prefix.rs b/tests/ui/errors/remap-path-prefix.rs
index 393b8e22f1c..e3338c10fd7 100644
--- a/tests/ui/errors/remap-path-prefix.rs
+++ b/tests/ui/errors/remap-path-prefix.rs
@@ -1,4 +1,7 @@
+// revisions: normal with-diagnostic-scope without-diagnostic-scope
 // compile-flags: --remap-path-prefix={{src-base}}=remapped
+// [with-diagnostic-scope]compile-flags: -Zremap-path-scope=diagnostics
+// [without-diagnostic-scope]compile-flags: -Zremap-path-scope=object
 // no-remap-src-base: Manually remap, so the remapped path remains in .stderr file.
 
 // The remapped paths are not normalized by compiletest.