diff options
| author | Jieyou Xu <jieyouxu@outlook.com> | 2025-10-01 13:31:42 +0800 |
|---|---|---|
| committer | Jieyou Xu <jieyouxu@outlook.com> | 2025-10-01 13:31:42 +0800 |
| commit | ec893d1a646bc0a1e09511ca80d71141da3b6997 (patch) | |
| tree | 1389cb2f07d05c0c58ec8a46f341407bcc60dce3 /tests/ui/errors/remap-path-prefix.rs | |
| parent | fa3155a644dd62e865825087b403646be01d4cef (diff) | |
| download | rust-ec893d1a646bc0a1e09511ca80d71141da3b6997.tar.gz rust-ec893d1a646bc0a1e09511ca80d71141da3b6997.zip | |
tests: remove `no-remap-src-base`
Previously in the `//`-compiletest-directive times, this 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.
Diffstat (limited to 'tests/ui/errors/remap-path-prefix.rs')
| -rw-r--r-- | tests/ui/errors/remap-path-prefix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/errors/remap-path-prefix.rs b/tests/ui/errors/remap-path-prefix.rs index 7e38e16280f..de18aa8cc20 100644 --- a/tests/ui/errors/remap-path-prefix.rs +++ b/tests/ui/errors/remap-path-prefix.rs @@ -2,7 +2,7 @@ //@ 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. +// Manually remap, so the remapped path remains in .stderr file. // The remapped paths are not normalized by compiletest. //@ normalize-stderr: "\\(errors)" -> "/$1" |
