2017-12-10 01:20:40 +01:00
|
|
|
error[E0308]: mismatched types
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/switched-expectations.rs:3:30
|
2017-12-10 01:20:40 +01:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | let ref string: String = var;
|
2023-01-02 18:00:33 -08:00
|
|
|
| ^^^ expected `String`, found `i32`
|
2017-12-10 01:20:40 +01:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0308`.
|