diff options
Diffstat (limited to 'tests/ui/suggestions/type-ascription-instead-of-path.rs')
-rw-r--r-- | tests/ui/suggestions/type-ascription-instead-of-path.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/suggestions/type-ascription-instead-of-path.rs b/tests/ui/suggestions/type-ascription-instead-of-path.rs new file mode 100644 index 000000000..ce40b55f1 --- /dev/null +++ b/tests/ui/suggestions/type-ascription-instead-of-path.rs @@ -0,0 +1,5 @@ +fn main() { + std:io::stdin(); + //~^ ERROR failed to resolve: use of undeclared crate or module `io` + //~| ERROR expected value, found crate +} |