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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
315 B
Rust
Raw Normal View History

// check-pass
2019-08-27 04:12:59 +00: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-27 04:12:59 +00:00
extern crate some_macros;
#[some_macros::second]
pub enum Boom {
/// [Oooops]
//~^ WARNING unresolved link to `Oooops`
2019-08-27 04:12:59 +00:00
Bam,
}
fn main() {}