about summary refs log tree commit diff
path: root/tests/ui/typeck/span-bug-issue-121410.stderr
blob: f745ac51a5e3e0f61d12732bdebe34b39878c625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0308]: mismatched types
  --> $DIR/span-bug-issue-121410.rs:9:13
   |
LL |         let (_, t2) = foo.x;
   |             ^^^^^^^   ----- this expression has type `String`
   |             |
   |             expected `String`, found `(_, _)`
   |
   = note: expected struct `String`
               found tuple `(_, _)`

error: aborting due to 1 previous error

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