rust/tests/ui/parser/doc-inside-trait-item.rs

7 lines
136 B
Rust

trait User{
fn test();
/// empty doc
//~^ ERROR found a documentation comment that doesn't document anything
}
fn main() {}