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

7 lines
136 B
Rust
Raw Normal View History

2019-03-13 04:28:05 +00:00
trait User{
fn test();
/// empty doc
//~^ ERROR found a documentation comment that doesn't document anything
}
2019-03-13 06:23:06 +00:00
fn main() {}