about summary refs log tree commit diff
path: root/tests/ui/type/type-shadow.stderr
blob: 999ba4b5fc53e0e2be60962d0417d485eb99e6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
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 1 previous error

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