mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
12 lines
292 B
Rust
12 lines
292 B
Rust
//@ compile-flags: --test
|
|
//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
|
|
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
|
|
//@ failure-status: 101
|
|
//@ rustc-env: RUST_BACKTRACE=0
|
|
|
|
/// ```rust
|
|
/// let x = 7;
|
|
/// "unterminated
|
|
/// ```
|
|
pub fn foo() {}
|