summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/issue-86781-bad-inner-doc.rs
blob: 31e3f3c859236718060cd339080330d95c4b7b20 (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() {}