rust/tests/ui-fulldeps/internal-lints/existing_doc_keyword.rs

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

12 lines
210 B
Rust
Raw Normal View History

// compile-flags: -Z unstable-options
#![feature(rustc_private)]
#![feature(rustdoc_internals)]
#![crate_type = "lib"]
#![deny(rustc::existing_doc_keyword)]
#[doc(keyword = "tadam")] //~ ERROR
mod tadam {}