blob: 93c52f3c5b3718731cf3e73ada5a02d3e54c3ad9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0308]: mismatched types
--> $DIR/issue-87771-ice-assign-assign-to-bool.rs:3:9
|
LL | let mut a;
| ----- expected due to the type of this binding
LL | a = a = true;
| ^^^^^^^^ expected `bool`, found `()`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.
|