]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/issue-66286.stderr
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[rust.git] / src / test / 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    |                      ^^^^^^^^
6    |                      |
7    |                      only `Fn` traits may use parentheses
8    |                      help: use angle brackets instead: `Vec<u32>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0214`.