blob: b4f9a38ff3507ca561a22612cf2f912f06d82e4e [file] [log] [blame]
// Test that we use fully-qualified type names in error messages.
fn main() {
let x: Option<usize>;
x = 5;
//~^ ERROR mismatched types
//~| expected enum `std::option::Option<usize>`
//~| found type `{integer}`
//~| expected enum `std::option::Option`, found integer
}