blob: 8b13f1bf2788e60868d6498c516dd80b0e95813e (
plain)
1
2
3
4
5
6
7
8
|
// checks that this attribute is caught on non-macro items.
// this needs a different test since this is done after expansion
#[allow_internal_unstable()] //~ ERROR allow_internal_unstable side-steps
//~| ERROR attribute should
struct S;
fn main() {}
|