]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/lint/expr_attr_paren_order.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / lint / expr_attr_paren_order.stderr
index c6b373e3f13c41ea78efd1e91ae8bd65aa5d7fc9..42beed10c19fd4ee9547a13c665e49d3759ed857 100644 (file)
@@ -1,14 +1,14 @@
 error: variable `X` should have a snake case name
-  --> $DIR/expr_attr_paren_order.rs:19:17
+  --> $DIR/expr_attr_paren_order.rs:17:17
    |
 LL |             let X = 0;
    |                 ^ help: convert the identifier to snake case (notice the capitalization): `x`
    |
 note: the lint level is defined here
-  --> $DIR/expr_attr_paren_order.rs:17:17
+  --> $DIR/expr_attr_paren_order.rs:15:37
    |
-LL |         #![deny(non_snake_case)]
-   |                 ^^^^^^^^^^^^^^
+LL |     #[allow(non_snake_case)] #[deny(non_snake_case)] (
+   |                                     ^^^^^^^^^^^^^^
 
 error: aborting due to previous error