blob: 7e5b884103ed2b6bfcba113897f8a33030ff4f85 [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 type `std::option::Option<usize>`
//~| found type `{integer}`
//~| expected enum `std::option::Option`, found integer
}