summary refs log tree commit diff
path: root/tests/rustdoc-ui/doctest/failed-doctest-test-crate.rs
blob: 6966d3df11ce774f48d0f1d488ed3f373f9c1b70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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

//@ revisions: edition2015 edition2024
//@[edition2015]edition:2015
//@[edition2024]edition:2024
//@ compile-flags:--test
//@ normalize-stdout: "tests/rustdoc-ui/doctest" -> "$$DIR"
//@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME"
//@ failure-status: 101

/// <https://github.com/rust-lang/rust/pull/137899#discussion_r1976743383>
///
/// ```rust
/// use test::*;
/// ```
pub mod m {}