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

9 lines
89 B
Rust

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