rust/tests/ui/rustdoc/doc-alias-crate-level.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
175 B
Rust
Raw Normal View History

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