]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui-cargo/cargo_rust_version/fail_file_attr/src/main.stderr
Auto merge of #104673 - matthiaskrgr:rollup-85f65ov, r=matthiaskrgr
[rust.git] / src / tools / clippy / tests / ui-cargo / cargo_rust_version / fail_file_attr / src / main.stderr
1 error: unnecessary structure name repetition
2   --> $DIR/main.rs:11:21
3    |
4 LL |     pub fn bar() -> Foo {
5    |                     ^^^ help: use the applicable keyword: `Self`
6    |
7 note: the lint level is defined here
8   --> $DIR/main.rs:6:9
9    |
10 LL | #![deny(clippy::use_self)]
11    |         ^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14