blob: 983e1026f91e9fb50952e4bca2cee9403cf51116 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error[E0308]: mismatched types
--> $DIR/static-mut-bad-types.rs:5:13
|
LL | static mut a: isize = 3;
| ----- expected due to this type
...
LL | a = true;
| ^^^^ expected `isize`, found `bool`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
|