summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/doc-alias-crate-level.rs
blob: 70618ac01dfbb96178450ec7de9dc63888cf23ec (plain)
1
2
3
4
#![doc(alias = "crate-level-not-working")] //~ ERROR

#[doc(alias = "shouldn't work!")] //~ ERROR
pub fn foo() {}