diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-10-01 22:15:02 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-01 22:15:02 +1000 |
| commit | f50c76f2fa18dd02810346ac6e11c3fc9ccbf91b (patch) | |
| tree | d7281a75a8692aeee201aa9f19b08a7767189414 /tests/ui/errors/remap-path-prefix.rs | |
| parent | 7b0236fbd8ce4f4f433f66a4289b4c3b94f24ea2 (diff) | |
| parent | ec893d1a646bc0a1e09511ca80d71141da3b6997 (diff) | |
| download | rust-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.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" |
