]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-mut-bad-types.stderr
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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`.