Skip to content

Commit

Permalink
Fix some mentions of --remap-path-prefix that should be --remap-path-…
Browse files Browse the repository at this point in the history
…scope
  • Loading branch information
Nemo157 committed May 15, 2023
1 parent cd01428 commit 9d6ba0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text/3127-trim-paths.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ scoping rules to be explicitly applied to each remapping. This can co-exist with

## Rationale for the `--remap-path-scope` options
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.
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
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
the same as specifying all individual scopes. In the future, we expect some of the scopes to be removed as independent options, while preserving
the behaviour of `--remap-path-prefix=all` and the stable `--remap-path-prefix`, which is "Remap source names in all output".
the behaviour of `--remap-path-scope=all` and the stable `--remap-path-prefix`, which is "Remap source names in all output".

- `macro` is primarily meant for panic messages embedded in binaries.
- `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).
Expand Down

0 comments on commit 9d6ba0e

Please sign in to comment.