]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/unconstrained-none.stderr
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
[rust.git] / src / test / ui / unconstrained-none.stderr
index 6c4fde94a61997c31f2cbfc3f5041e0d58b594c7..fbd71bd091d0b6ed300d9eb4301e6783fac1930b 100644 (file)
@@ -2,7 +2,7 @@ error[E0282]: type annotations needed
   --> $DIR/unconstrained-none.rs:4:5
    |
 LL |     None;
-   |     ^^^^ cannot infer type for type parameter `T`
+   |     ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
 
 error: aborting due to previous error