mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
d9f78cb793
Adds --remap-path-prefix as an unstable option. This is implemented to mimic the behavior of rustc's --remap-path-prefix but with minor adjustments. This flag similarly takes in two paths, a prefix to replace and a replacement string.
23 lines
694 B
Plaintext
23 lines
694 B
Plaintext
|
|
running 1 test
|
|
test remapped_path/remap-path-prefix-invalid-doctest.rs - SomeStruct (line 10) ... FAILED
|
|
|
|
failures:
|
|
|
|
---- remapped_path/remap-path-prefix-invalid-doctest.rs - SomeStruct (line 10) stdout ----
|
|
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `is`
|
|
--> remapped_path/remap-path-prefix-invalid-doctest.rs:11:6
|
|
|
|
|
LL | this is not real code
|
|
| ^^ expected one of 8 possible tokens
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
Couldn't compile the test.
|
|
|
|
failures:
|
|
remapped_path/remap-path-prefix-invalid-doctest.rs - SomeStruct (line 10)
|
|
|
|
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
|
|
|