summaryrefslogtreecommitdiffstats
path: root/tests/ui/rustdoc/doc-alias-crate-level.rs
blob: c7783aae5ea6267abbf35b5699480b3c8988491c (plain)
1
2
3
4
5
6
7
8
// compile-flags: -Zdeduplicate-diagnostics=no

#![crate_type = "lib"]

#![doc(alias = "not working!")] //~ ERROR

#[doc(alias = "shouldn't work!")] //~ ERROR
pub struct Foo;