]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0130.stderr
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19
[rust.git] / src / test / ui / error-codes / E0130.stderr
1 error[E0130]: patterns aren't allowed in foreign function declarations
2   --> $DIR/E0130.rs:2:12
3    |
4 LL |     fn foo((a, b): (u32, u32));
5    |            ^^^^^^ pattern not allowed in foreign function
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0130`.