]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/issue-86781-bad-inner-doc.fixed
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / 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() {}