mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
17 lines
293 B
Rust
17 lines
293 B
Rust
#[cfg(FALSE)]
|
|
impl S {
|
|
fn f(#[attr]) {} //~ ERROR expected parameter name, found `)`
|
|
}
|
|
|
|
#[cfg(FALSE)]
|
|
impl T for S {
|
|
fn f(#[attr]) {} //~ ERROR expected parameter name, found `)`
|
|
}
|
|
|
|
#[cfg(FALSE)]
|
|
trait T {
|
|
fn f(#[attr]); //~ ERROR expected argument name, found `)`
|
|
}
|
|
|
|
fn main() {}
|