]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/fallback_inference.rs
Be more careful about unresolved exprs in suggestion
[rust.git] / src / test / ui / impl-trait / fallback_inference.rs
index 001f9ee48775847377ed7575cfeea2a70087dda3..98f0bd1af2813174a9a2055499adffc91c089249 100644 (file)
@@ -1,7 +1,7 @@
 use std::marker::PhantomData;
 
 fn weird() -> PhantomData<impl Sized> {
-    PhantomData //~^ ERROR type annotations needed
+    PhantomData //~ ERROR type annotations needed
 }
 
 fn main() {}