rust/tests/rustdoc-ui/doctest/merged-ignore-no_run.rs

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

16 lines
345 B
Rust
Raw Normal View History

2024-11-22 15:20:22 +00:00
//@ edition: 2024
//@ compile-flags:--test --test-args=--test-threads=1
//@ normalize-stdout: "tests/rustdoc-ui/doctest" -> "$$DIR"
//@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME"
2024-07-09 12:34:55 +00:00
//@ check-pass
/// ```ignore (test)
/// let x = 12;
/// ```
pub fn ignored() {}
/// ```no_run
/// panic!("blob");
/// ```
pub fn no_run() {}