blob: e113120bdbc1b4f8cbfc4c8d0e7e289a348bf999 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#![crate_type = "lib"]
#[doc(alias = "foo")] // ok!
#[doc(alias("bar", "baz"))] // ok!
pub struct Bar;
#[doc(alias = "
")] // { dg-error "invalid character used" "" { target *-*-* } .-1 }
pub struct Foo;
#[doc(alias(
"
"
))] // ko but unchecked for now
pub struct Foo2;
#[doc(whatever = "buidule")] // ko as well but unchecked for now
struct Boo;
|