mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +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() {}
|