mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
7 lines
131 B
Rust
7 lines
131 B
Rust
// edition:2018
|
|
|
|
trait Trait2015 { fn foo(#[allow(C)] i32); }
|
|
//~^ ERROR expected one of `:`, `@`, or `|`, found `)`
|
|
|
|
fn main() {}
|