rust/tests/rustdoc-ui/doctest/test-compile-fail1.rs

9 lines
88 B
Rust

// compile-flags:--test
/// ```
/// assert!(true)
/// ```
pub fn f() {}
pub fn f() {}