blob: 291fc112c3407191e14ce33fc1f7b5798f228ce3 [file] [log] [blame] [edit]
// compile-flags: -Z unstable-options --check
#![deny(missing_docs)]
#![deny(rustdoc)]
//! ```rust,testharness
//~^ ERROR
//! let x = 12;
//! ```
pub fn foo() {}
//~^ ERROR
//~^^ ERROR
/// hello
//~^ ERROR
///
/// ```rust,testharness
/// let x = 12;
/// ```
pub fn bar() {}