]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-10969.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-10969.stderr
1 error[E0618]: expected function, found `i32`
2 --> $DIR/issue-10969.rs:2:5
3 |
4 LL | fn func(i: i32) {
5 | - `i32` defined here
6 LL | i();
7 | ^--
8 | |
9 | call expression requires function
10
11 error[E0618]: expected function, found `i32`
12 --> $DIR/issue-10969.rs:6:5
13 |
14 LL | let i = 0i32;
15 | - `i32` defined here
16 LL | i();
17 | ^--
18 | |
19 | call expression requires function
20
21 error: aborting due to 2 previous errors
22
23 For more information about this error, try `rustc --explain E0618`.