// Test that we use fully-qualified type names in error messages. use std::option::Option; fn bar(x: usize) -> Option { return x; //~^ ERROR mismatched types //~| expected enum `Option` //~| found type `usize` //~| expected `Option`, found `usize` } fn main() { }