rust/tests/ui/rfc-2565-param-attrs/param-attrs-2018.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
131 B
Rust
Raw Normal View History

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