]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/trait-object-reference-without-parens-suggestion.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / trait-object-reference-without-parens-suggestion.rs
index fc2ed83b2724d0a2d0be5e9b2b04ab1ca592fb28..29360e58b5bd3471424cdcb5d5e25c497ac31172 100644 (file)
@@ -13,8 +13,10 @@ fn main() {
     //~^ ERROR expected a path
     //~| HELP try adding parentheses
     //~| SUGGESTION let _: &(Copy + 'static);
+    //~| HELP run `rustc --explain E0178` to see a detailed explanation
     let _: &'static Copy + 'static;
     //~^ ERROR expected a path
     //~| HELP try adding parentheses
     //~| SUGGESTION let _: &'static (Copy + 'static);
+    //~| HELP run `rustc --explain E0178` to see a detailed explanation
 }