blob: a280e1bacdfdca063dae06c0edd6cf8a2f0ea52b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: unnecessary structure name repetition
--> $DIR/main.rs:6:21
|
LL | pub fn bar() -> Foo {
| ^^^ help: use the applicable keyword: `Self`
|
note: the lint level is defined here
--> $DIR/main.rs:1:9
|
LL | #![deny(clippy::use_self)]
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error
|