blob: 2e930f4596e04b930343c96251a34892fd09a72e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0308]: mismatched types
--> $DIR/bad-const-type.rs:1:20
|
LL | static i: String = 10;
| ^^- help: try using a conversion method: `.to_string()`
| |
| expected `String`, found integer
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
|