]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui-cargo/cargo_rust_version/fail_clippy/src/main.stderr
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / src / tools / clippy / tests / ui-cargo / cargo_rust_version / fail_clippy / src / main.stderr
1 error: unnecessary structure name repetition
2   --> $DIR/main.rs:6: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:1:9
9    |
10 LL | #![deny(clippy::use_self)]
11    |         ^^^^^^^^^^^^^^^^
12
13 error: unnecessary structure name repetition
14   --> $DIR/main.rs:7:9
15    |
16 LL |         Foo
17    |         ^^^ help: use the applicable keyword: `Self`
18
19 error: aborting due to 2 previous errors
20