blob: 7df63261ce7eeeddaa219a594cbe6cf4fcf12f3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//@ compile-flags:--test --error-format=short
//@ check-stdout
//@ error-pattern:cannot find function `foo`
//@ normalize-stdout-test: "tests/rustdoc-ui/issues" -> "$$DIR"
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
//@ failure-status: 101
/// ```rust
/// foo();
/// ```
fn foo() {
println!("Hello, world!");
}
|