summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/intra-doc/through-proc-macro.rs
blob: 7628c3928fec70d01e8525334819d55137402a16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// check-pass
// aux-build:through-proc-macro-aux.rs
// build-aux-docs

// Ensure rustdoc doesn't panic on this code.

#![warn(rustdoc::broken_intra_doc_links)]

extern crate some_macros;

#[some_macros::second]
pub enum Boom {
    /// [Oooops]
    //~^ WARNING unresolved link to `Oooops`
    Bam,
}

fn main() {}