]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/type-ascription-instead-of-let.stderr
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / type-ascription-instead-of-let.stderr
1 error[E0425]: cannot find value `temp` in this scope
2   --> $DIR/type-ascription-instead-of-let.rs:5:9
3    |
4 LL |         temp: i32 = fun(5i32);
5    |         ^^^^
6    |         |
7    |         not found in this scope
8    |         help: maybe you meant to write an assignment here: `let temp`
9
10 error[E0425]: cannot find value `temp` in this scope
11   --> $DIR/type-ascription-instead-of-let.rs:7:9
12    |
13 LL |         temp + value + 1
14    |         ^^^^ not found in this scope
15
16 error: aborting due to 2 previous errors
17
18 For more information about this error, try `rustc --explain E0425`.