rust/src/test/ui/rustdoc/doc-alias-crate-level.rs
Joshua Nelson bc1fbf55db Move rustdoc UI tests into a subdirectory
This also adds a little leeway to the test limit.
2021-03-08 09:17:04 -05:00

8 lines
175 B
Rust

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