Skip to content

Commit ad4f78f

Browse files
authored
Merge pull request #3432 from Nemo157/fix-path-prefix-vs-scope
Fix some mentions of `--remap-path-prefix` that should be `--remap-path-scope`
2 parents cd01428 + 9d6ba0e commit ad4f78f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/3127-trim-paths.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@ scoping rules to be explicitly applied to each remapping. This can co-exist with
296296

297297
## Rationale for the `--remap-path-scope` options
298298
There are quite a few options available for `--remap-path-scope`. Not all of them are expected to have meaningful use-cases in their own right.
299-
Some are only added for completeness, that is, the behaviour of `--remap-path-prefix=all` (or the original `--remap-path-prefix` on its own) is
299+
Some are only added for completeness, that is, the behaviour of `--remap-path-scope=all` (or the original `--remap-path-prefix` on its own) is
300300
the same as specifying all individual scopes. In the future, we expect some of the scopes to be removed as independent options, while preserving
301-
the behaviour of `--remap-path-prefix=all` and the stable `--remap-path-prefix`, which is "Remap source names in all output".
301+
the behaviour of `--remap-path-scope=all` and the stable `--remap-path-prefix`, which is "Remap source names in all output".
302302

303303
- `macro` is primarily meant for panic messages embedded in binaries.
304304
- `diagnostics` is unlikely to be used on its own as it only affects console outputs, but is required for completeness. See [#87745](https://github.com/rust-lang/rust/issues/87745).

0 commit comments

Comments
 (0)