]>
Commit | Line | Data |
---|---|---|
223e47cc LB |
1 | // Test that we use fully-qualified type names in error messages. |
2 | ||
3 | fn main() { | |
1a4d82fc | 4 | let x: Option<usize>; |
223e47cc | 5 | x = 5; |
85aaf69f | 6 | //~^ ERROR mismatched types |
1b1a35ee | 7 | //~| expected enum `Option<usize>` |
5bcae85e | 8 | //~| found type `{integer}` |
1b1a35ee | 9 | //~| expected enum `Option`, found integer |
223e47cc | 10 | } |