]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-ui/failed-doctest-output.rs
1 // Issue #51162: A failed doctest was not printing its stdout/stderr
2 // FIXME: if/when the output of the test harness can be tested on its own, this test should be
3 // adapted to use that, and that normalize line can go away
5 // compile-flags:--test
6 // normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
8 // rustc-env:RUST_BACKTRACE=0
10 // doctest fails at runtime
14 pub struct SomeStruct
;
16 // doctest fails at compile time
20 pub struct OtherStruct
;