]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cast/issue-85586.stderr
Rollup merge of #97066 - petrochenkov:nofragkind, r=camelid
[rust.git] / src / test / ui / cast / issue-85586.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/issue-85586.rs:8:13
3    |
4 LL |     let b = (a + 1) as usize;
5    |             ^^^^^^^ cannot infer type
6    |
7    = note: type must be known at this point
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0282`.