mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 10:55:14 +00:00

Fixes #132203 This is a compatibility hack, because I think the new behavior is better. When an A `include_str!` B, and B `include_str!` C, the path to C should be resolved relative to B, not A. That's how `include!` itself works, so that's how `include_str!` with should work.
9 lines
278 B
Plaintext
9 lines
278 B
Plaintext
|
|
running 3 tests
|
|
test $DIR/doctest-output.rs - (line 12) ... ok
|
|
test $DIR/doctest-output.rs - ExpandedStruct (line 28) ... ok
|
|
test $DIR/doctest-output.rs - foo::bar (line 22) ... ok
|
|
|
|
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
|
|
|