]> git.lizzy.rs Git - rust.git/blob - tests/ui/cast/issue-85586.stderr
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[rust.git] / tests / 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 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0282`.