]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-12187-1.rs
Rollup merge of #41249 - GuillaumeGomez:rustdoc-render, r=steveklabnik,frewsxcv
[rust.git] / src / test / compile-fail / issue-12187-1.rs
index 346fae11070e15b91e8ef1c8317bda7cf3287292..6aeb9442c40ed9ebb637ac2cbf66e66490d610ac 100644 (file)
@@ -16,4 +16,5 @@ fn main() {
     let &v = new();
     //~^ ERROR type annotations needed [E0282]
     //~| NOTE cannot infer type for `_`
+    //~| NOTE consider giving a type to pattern
 }