rust/tests/rustdoc-ui/intra-doc/through-proc-macro.rs

19 lines
315 B
Rust
Raw Normal View History

// check-pass
2019-08-26 23:12:59 -05:00
// aux-build:through-proc-macro-aux.rs
// build-aux-docs
// Ensure rustdoc doesn't panic on this code.
#![warn(rustdoc::broken_intra_doc_links)]
2019-08-26 23:12:59 -05:00
extern crate some_macros;
#[some_macros::second]
pub enum Boom {
/// [Oooops]
//~^ WARNING unresolved link to `Oooops`
2019-08-26 23:12:59 -05:00
Bam,
}
fn main() {}