mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
13 lines
253 B
Rust
13 lines
253 B
Rust
//@ 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() {}
|