]> git.lizzy.rs Git - rust.git/blobdiff - src/doc/rustc/src/command-line-arguments.md
Rollup merge of #106940 - oli-obk:tait_error, r=compiler-errors
[rust.git] / src / doc / rustc / src / command-line-arguments.md
index ef6eee75f1ce6c2cdc4d0ed83e43144e60bb68de..d4d26654ed114fa7cb3bc3ff3302500838d54ccf 100644 (file)
@@ -434,6 +434,9 @@ replacement is purely textual, with no consideration of the current system's
 pathname syntax. For example `--remap-path-prefix foo=bar` will match
 `foo/lib.rs` but not `./foo/lib.rs`.
 
+When multiple remappings are given and several of them match, the **last**
+matching one is applied.
+
 <a id="option-json"></a>
 ## `--json`: configure json messages printed by the compiler