about summary refs log tree commit diff
path: root/tests/ui/static/static-mut-bad-types.stderr
blob: f71701ca7a401bc6c5873228259ccac1c67fca87 (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 1 previous error

For more information about this error, try `rustc --explain E0308`.