2020-12-03 14:05:58 +01:00
|
|
|
// compile-flags: -Z unstable-options
|
|
|
|
|
|
|
|
#![feature(rustc_private)]
|
2021-11-08 17:27:56 +01:00
|
|
|
#![feature(rustdoc_internals)]
|
2020-12-03 14:05:58 +01:00
|
|
|
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
|
2020-12-03 15:32:41 +01:00
|
|
|
#![deny(rustc::existing_doc_keyword)]
|
|
|
|
|
2020-12-03 14:05:58 +01:00
|
|
|
#[doc(keyword = "tadam")] //~ ERROR
|
|
|
|
mod tadam {}
|