about summary refs log tree commit diff
path: root/tests/ui/type/verbose.verbose.stderr
blob: 7cc7a16cdb1694dfdda4e231ded0b6478e59d51c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0308]: mismatched types
  --> $DIR/verbose.rs:7:28
   |
LL |     let _: Foo<u32, i32> = Foo::<i32, i32> { x: 0, y: 0 };
   |            -------------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Foo<u32, i32>`, found `Foo<i32, i32>`
   |            |
   |            expected due to this
   |
   = note: expected struct `Foo<u32, i32>`
              found struct `Foo<i32, i32>`

error: aborting due to 1 previous error

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