rust/tests/ui/rustdoc/doc-alias-crate-level.rs
2024-02-16 20:02:50 +00:00

9 lines
176 B
Rust

//@ compile-flags: -Zdeduplicate-diagnostics=no
#![crate_type = "lib"]
#![doc(alias = "not working!")] //~ ERROR
#[doc(alias = "shouldn't work!")] //~ ERROR
pub struct Foo;