rust/tests/rustdoc-ui/doctest/standalone-warning.rs

11 lines
195 B
Rust
Raw Normal View History

// This test checks that it will not output warning for usage of `standalone` or `standalone_crate`.
//@ check-pass
//! ```standalone
//! bla
//! ```
//!
//! ```standalone-crate
//! bla
//! ```