mirror of https://github.com/rust-lang/rust
19 lines
318 B
Rust
19 lines
318 B
Rust
//@ 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() {}
|