We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fff351 commit 101f28bCopy full SHA for 101f28b
tests/ui-cargo/use_crate_prefix_for_self_imports/fail/Cargo.stderr
@@ -2,7 +2,7 @@ error: this import is not clear
2
--> src/main.rs:1:5
3
|
4
1 | use foo::Foo;
5
- | ^^^^^^^^ help: prefix with `crate::`: `crate::foo::Foo`
+ | ^^^ help: prefix with `crate::`: `crate::foo`
6
7
= note: `-D clippy::use-crate-prefix-for-self-imports` implied by `-D warnings`
8
= help: to override `-D warnings` add `#[allow(clippy::use_crate_prefix_for_self_imports)]`
0 commit comments