blob: 25b4bff4d9aaa7453849322748392e27d87e7146 [file] [log] [blame]
error[E0308]: mismatched types
--> $DIR/type-shadow.rs:6:20
|
LL | let y: Y = "hello";
| - ^^^^^^^ expected `isize`, found `&str`
| |
| expected due to this
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.