]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-mut-bad-types.stderr
Auto merge of #104054 - RalfJung:byte-provenance, r=oli-obk
[rust.git] / src / test / ui / static / static-mut-bad-types.stderr
1 error[E0308]: mismatched types
2   --> $DIR/static-mut-bad-types.rs:5:13
3    |
4 LL | static mut a: isize = 3;
5    |               ----- expected due to this type
6 ...
7 LL |         a = true;
8    |             ^^^^ expected `isize`, found `bool`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.