@@ -418,22 +418,15 @@ This flag takes a number that specifies the width of the terminal in characters.
418418Formatting of diagnostics will take the width into consideration to make them better fit on the screen.
419419
420420<a id =" option-remap-path-prefix " ></a >
421- ## ` --remap-path-prefix ` : remap source names in output
421+ ## ` --remap-path-prefix ` : remap source paths in output
422422
423423Remap source path prefixes in all output, including compiler diagnostics,
424- debug information, macro expansions, etc. It takes a value of the form
425- ` FROM=TO ` where a path prefix equal to ` FROM ` is rewritten to the value ` TO ` .
426- The ` FROM ` may itself contain an ` = ` symbol, but the ` TO ` value may not. This
427- flag may be specified multiple times.
428-
429- This is useful for normalizing build products, for example by removing the
430- current directory out of pathnames emitted into the object files. The
431- replacement is purely textual, with no consideration of the current system's
432- pathname syntax. For example ` --remap-path-prefix foo=bar ` will match
433- ` foo/lib.rs ` but not ` ./foo/lib.rs ` .
434-
435- When multiple remappings are given and several of them match, the ** last**
436- matching one is applied.
424+ debug information, macro expansions, etc. It takes a value of the form ` FROM=TO `
425+ where a path prefix equal to ` FROM ` is rewritten to the value ` TO ` . This flag may be
426+ specified multiple times.
427+
428+ Refer to the [ Remap source paths] ( remap-source-paths.md ) of this book for
429+ further details and explanation.
437430
438431<a id =" option-json " ></a >
439432## ` --json ` : configure json messages printed by the compiler
0 commit comments