]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-17999.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-17999.stderr
index 51c0c757a80c16204d16a3a6f831484e513ab3a1..b9ae03356e9bc6db28ffa12b08e129b24dc45fc4 100644 (file)
@@ -1,7 +1,7 @@
 error: unused variable: `x`
   --> $DIR/issue-17999.rs:5:13
    |
-LL |         let x = (); //~ ERROR: unused variable: `x`
+LL |         let x = ();
    |             ^ help: consider prefixing with an underscore: `_x`
    |
 note: lint level defined here
@@ -13,7 +13,7 @@ LL | #![deny(unused_variables)]
 error: unused variable: `a`
   --> $DIR/issue-17999.rs:7:13
    |
-LL |             a => {} //~ ERROR: unused variable: `a`
+LL |             a => {}
    |             ^ help: consider prefixing with an underscore: `_a`
 
 error: aborting due to 2 previous errors