]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/tests/ui-cargo/cargo_rust_version/fail_both_diff/src/main.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui-cargo / cargo_rust_version / fail_both_diff / src / main.stderr
index 9a7d802dc6d3a64ae041532679d4d6b0f1c7f520..163f8bb35e79bef6831b8c2a5ca1201444b58355 100644 (file)
@@ -12,5 +12,11 @@ note: the lint level is defined here
 LL | #![deny(clippy::use_self)]
    |         ^^^^^^^^^^^^^^^^
 
-error: aborting due to previous error; 1 warning emitted
+error: unnecessary structure name repetition
+  --> $DIR/main.rs:7:9
+   |
+LL |         Foo
+   |         ^^^ help: use the applicable keyword: `Self`
+
+error: aborting due to 2 previous errors; 1 warning emitted