Files
rust/tests/ui/rustdoc/renamed-features-rustdoc_internals.rs
2025-06-09 17:10:58 +08:00

8 lines
238 B
Rust

//@ normalize-stderr: "you are using [0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)?( \([^)]*\))?" -> "you are using $$RUSTC_VERSION"
#![feature(doc_keyword)] //~ ERROR
#![feature(doc_primitive)] //~ ERROR
#![crate_type = "lib"]
pub fn foo() {}