about summary refs log tree commit diff
path: root/tests/ui/errors/remap-path-prefix-reverse.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-10-01 22:15:02 +1000
committerGitHub <noreply@github.com>2025-10-01 22:15:02 +1000
commitf50c76f2fa18dd02810346ac6e11c3fc9ccbf91b (patch)
treed7281a75a8692aeee201aa9f19b08a7767189414 /tests/ui/errors/remap-path-prefix-reverse.rs
parent7b0236fbd8ce4f4f433f66a4289b4c3b94f24ea2 (diff)
parentec893d1a646bc0a1e09511ca80d71141da3b6997 (diff)
downloadrust-f50c76f2fa18dd02810346ac6e11c3fc9ccbf91b.tar.gz
rust-f50c76f2fa18dd02810346ac6e11c3fc9ccbf91b.zip
Rollup merge of #147209 - jieyouxu:remove-no-remap-src-base, r=Zalathar
Remove `no-remap-src-base` from tests

Previously in the `//`-compiletest-directive times, `no-remap-src-base` was implemented as a special `no-*` directive parsing. In the migration from `//` -> `//`@`,` the `// no-remap-src-base` directive was lost, most likely because it had no effect -- the default is not remapping `src-base`.

So remove occurrences of `no-remap-src-base`, as these are not valid directives.

r? `@Zalathar` (since we discussed this on discord, or compiler)
Diffstat (limited to 'tests/ui/errors/remap-path-prefix-reverse.rs')
-rw-r--r--tests/ui/errors/remap-path-prefix-reverse.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/errors/remap-path-prefix-reverse.rs b/tests/ui/errors/remap-path-prefix-reverse.rs
index 28fdabb8f4d..562e44690f7 100644
--- a/tests/ui/errors/remap-path-prefix-reverse.rs
+++ b/tests/ui/errors/remap-path-prefix-reverse.rs
@@ -2,7 +2,6 @@
 //@ compile-flags: --remap-path-prefix={{src-base}}/errors/auxiliary=remapped-aux
 
 //@ revisions: local-self remapped-self
-// [local-self] no-remap-src-base: The hack should work regardless of remapping.
 //@ [remapped-self] remap-src-base
 
 // Verify that the expected source code is shown.