summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rfc-2565-param-attrs/param-attrs-2018.rs
blob: a6f693bd5b5f43c833d354d7f6e57dc09dfb2871 (plain)
1
2
3
4
5
6
// edition:2018

trait Trait2015 { fn foo(#[allow(C)] i32); }
//~^ ERROR expected one of `:`, `@`, or `|`, found `)`

fn main() {}