rust/tests/rustdoc-ui/doctest/unparseable-doc-test.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
292 B
Rust
Raw Normal View History

//@ 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() {}