Skip to content

Commit e15308c

Browse files
committed
Clarify the effects of multiple --remap-path-scope
1 parent 23394fc commit e15308c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3127-trim-paths.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ should support finer grained control over paths in which contexts should be rema
9090

9191
When the `--remap-path-prefix` option is passed to rustc, source path prefixes in all output will be affected by default.
9292
The `--remap-path-scope` argument can be used in conjunction with `--remap-path-prefix` to determine paths in which output context should be affected.
93-
This flag accepts a comma-separated list of values and may be specified multiple times. The valid scopes are:
93+
This flag accepts a comma-separated list of values and may be specified multiple times, in which case the scopes are aggregated together. The valid scopes are:
9494

9595
- `macro` - apply remappings to the expansion of `std::file!()` macro. This is where paths in embedded panic messages come from
9696
- `diagnostics` - apply remappings to printed compiler diagnostics

0 commit comments

Comments
 (0)