about summary refs log tree commit diff
path: root/tests/rustdoc-ui/remap-path-prefix-invalid-doctest.rs
blob: 96a79e85f6be59852e90ac341a47273f44691c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// FIXME: if/when the output of the test harness can be tested on its own, this test should be
// adapted to use that, and that normalize line can go away

//@ failure-status: 101
//@ compile-flags:--test -Z unstable-options --remap-path-prefix={{src-base}}=remapped_path --test-args --test-threads=1
//@ rustc-env:RUST_BACKTRACE=0
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"

// doctest fails to compile
/// ```
/// this is not real code
/// ```
pub struct SomeStruct;