Files
rust/tests/ui/rustdoc/renamed-features-rustdoc_internals.rs

8 lines
238 B
Rust
Raw Normal View History

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