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

5 lines
114 B
Rust
Raw Normal View History

2020-10-03 13:45:39 -05:00
#![doc(alias = "crate-level-not-working")] //~ ERROR
#[doc(alias = "shouldn't work!")] //~ ERROR
pub fn foo() {}