]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2565-param-attrs/param-attrs-feature-gate.stderr
Simplify SaveHandler trait
[rust.git] / src / test / ui / rfc-2565-param-attrs / param-attrs-feature-gate.stderr
1 error: documentation comments cannot be applied to function parameters
2   --> $DIR/param-attrs-feature-gate.rs:4:5
3    |
4 LL |     /// Foo
5    |     ^^^^^^^ doc comments are not allowed here
6
7 error[E0658]: attributes on function parameters are unstable
8   --> $DIR/param-attrs-feature-gate.rs:4:5
9    |
10 LL |     /// Foo
11    |     ^^^^^^^
12    |
13    = note: for more information, see https://github.com/rust-lang/rust/issues/60406
14    = help: add `#![feature(param_attrs)]` to the crate attributes to enable
15
16 error[E0658]: attributes on function parameters are unstable
17   --> $DIR/param-attrs-feature-gate.rs:9:5
18    |
19 LL |     #[allow(C)] a: u8
20    |     ^^^^^^^^^^^
21    |
22    = note: for more information, see https://github.com/rust-lang/rust/issues/60406
23    = help: add `#![feature(param_attrs)]` to the crate attributes to enable
24
25 error: aborting due to 3 previous errors
26
27 For more information about this error, try `rustc --explain E0658`.