]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2565-param-attrs/attr-without-param.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / rfc-2565-param-attrs / attr-without-param.rs
1 #[cfg(FALSE)]
2 impl S {
3     fn f(#[attr]) {} //~ ERROR expected parameter name, found `)`
4 }
5
6 #[cfg(FALSE)]
7 impl T for S {
8     fn f(#[attr]) {} //~ ERROR expected parameter name, found `)`
9 }
10
11 #[cfg(FALSE)]
12 trait T {
13     fn f(#[attr]); //~ ERROR expected argument name, found `)`
14 }
15
16 fn main() {}