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

5 lines
114 B
Rust

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