rust/tests/rustdoc-ui/doctest/non_local_defs.rs

11 lines
380 B
Rust
Raw Normal View History

//@ check-pass
//@ compile-flags:--test --test-args --test-threads=1 --nocapture -Zunstable-options
//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
//@ normalize-stderr-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
//! ```
//! #[macro_export]
//! macro_rules! a_macro { () => {} }
//! ```