error[E0308]: mismatched types --> $DIR/verbose.rs:7:28 | LL | let _: Foo = Foo:: { x: 0, y: 0 }; | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Foo`, found `Foo` | | | expected due to this | = note: expected struct `Foo` found struct `Foo` error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0308`.