1819b4fa23
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
364 B
Rust
9 lines
364 B
Rust
//@ edition:2024
|
|
//@ compile-flags:--test --test-args=--test-threads=1 -Z unstable-options
|
|
//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
|
|
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
|
|
//@ failure-status: 101
|
|
|
|
// https://github.com/rust-lang/rust/issues/130470
|
|
#![doc = include_str!("doctest-output-include-fail.md")]
|