]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/path-lookahead.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / path-lookahead.stderr
index 7a57b6100f3805d1887a86a3761e4e44bbf29ea4..dcf235a9e277455079318ec30f933f6ae57a03da 100644 (file)
@@ -1,11 +1,11 @@
 warning: unnecessary parentheses around `return` value
-  --> $DIR/path-lookahead.rs:8:10
+  --> $DIR/path-lookahead.rs:10:12
    |
-LL |   return (<T as ToString>::to_string(&arg));
-   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
+LL |     return (<T as ToString>::to_string(&arg));
+   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
    |
 note: the lint level is defined here
-  --> $DIR/path-lookahead.rs:3:9
+  --> $DIR/path-lookahead.rs:5:9
    |
 LL | #![warn(unused_parens)]
    |         ^^^^^^^^^^^^^