]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-87771-ice-assign-assign-to-bool.stderr
Auto merge of #105102 - compiler-errors:copy-impl-considering-regions, r=lcnr
[rust.git] / tests / ui / typeck / issue-87771-ice-assign-assign-to-bool.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-87771-ice-assign-assign-to-bool.rs:3:9
3    |
4 LL |     let mut a;
5    |         ----- expected due to the type of this binding
6 LL |     a = a = true;
7    |         ^^^^^^^^ expected `bool`, found `()`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0308`.