summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/issue-86781-bad-inner-doc.fixed
blob: 426a5fa723fcff33c8277cfa8315b60d6ee51a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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() {}