rust/tests/ui/proc-macro/issue-86781-bad-inner-doc.fixed

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
251 B
Rust
Raw Normal View History

// aux-build:test-macros.rs
// run-rustfix
#[macro_use]
extern crate test_macros;
/// Inner doc comment
//~^ ERROR expected outer doc comment
#[derive(Empty)]
pub struct Foo; //~ NOTE the inner doc comment doesn't annotate this struct
fn main() {}