summaryrefslogtreecommitdiffstats
path: root/tests/ui/internal-lints/existing_doc_keyword.rs
blob: 7783dc40fcf206ac6b64e0a4ce122534be01e110 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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 {}