]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/issue-66286.stderr
Rollup merge of #106788 - estebank:elaborate_pred_E0599, r=compiler-errors
[rust.git] / tests / ui / proc-macro / issue-66286.stderr
1 error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
2   --> $DIR/issue-66286.rs:8:22
3    |
4 LL | pub extern fn foo(_: Vec(u32)) -> u32 {
5    |                      ^^^^^^^^ only `Fn` traits may use parentheses
6    |
7 help: use angle brackets instead
8    |
9 LL | pub extern fn foo(_: Vec<u32>) -> u32 {
10    |                         ~   ~
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0214`.