]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-10969.stderr
Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahc
[rust.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    |         - `i` has type `i32`
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    |         - `i` has type `i32`
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`.