]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/issue-86781-bad-inner-doc.fixed
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / ui / proc-macro / issue-86781-bad-inner-doc.fixed
1 // aux-build:test-macros.rs
2 // run-rustfix
3
4 #[macro_use]
5 extern crate test_macros;
6
7 /// Inner doc comment
8 //~^ ERROR expected outer doc comment
9 #[derive(Empty)]
10 pub struct Foo; //~ NOTE the inner doc comment doesn't annotate this struct
11
12 fn main() {}