]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2565-param-attrs/param-attrs-feature-gate.rs
Simplify SaveHandler trait
[rust.git] / src / test / ui / rfc-2565-param-attrs / param-attrs-feature-gate.rs
1 // gate-test-param_attrs
2
3 fn foo(
4     /// Foo
5     //~^ ERROR documentation comments cannot be applied to function parameters
6     //~| NOTE doc comments are not allowed here
7     //~| ERROR attributes on function parameters are unstable
8     //~| NOTE https://github.com/rust-lang/rust/issues/60406
9     #[allow(C)] a: u8
10     //~^ ERROR attributes on function parameters are unstable
11     //~| NOTE https://github.com/rust-lang/rust/issues/60406
12 ) {}
13
14 fn main() {}