#![crate_type = "lib"] #![feature(doc_alias)] #[doc(alias = "foo")] // ok! pub struct Bar; #[doc(alias)] //~ ERROR #[doc(alias = 0)] //~ ERROR #[doc(alias("bar"))] //~ ERROR pub struct Foo;