diff options
Diffstat (limited to 'src/test/ui/suggestions/suggest-std-when-using-type.rs')
-rw-r--r-- | src/test/ui/suggestions/suggest-std-when-using-type.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/suggestions/suggest-std-when-using-type.rs b/src/test/ui/suggestions/suggest-std-when-using-type.rs deleted file mode 100644 index 5abc016de..000000000 --- a/src/test/ui/suggestions/suggest-std-when-using-type.rs +++ /dev/null @@ -1,8 +0,0 @@ -// run-rustfix -fn main() { - let pi = f32::consts::PI; //~ ERROR ambiguous associated type - let bytes = "hello world".as_bytes(); - let string = str::from_utf8(bytes).unwrap(); - //~^ ERROR no function or associated item named `from_utf8` found - println!("{pi} {bytes:?} {string}"); -} |