Skip to content

Commit 101f28b

Browse files
committed
cargo uibless
1 parent 4fff351 commit 101f28b

File tree

1 file changed

+1
-1
lines changed
  • tests/ui-cargo/use_crate_prefix_for_self_imports/fail

1 file changed

+1
-1
lines changed

tests/ui-cargo/use_crate_prefix_for_self_imports/fail/Cargo.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: this import is not clear
22
--> src/main.rs:1:5
33
|
44
1 | use foo::Foo;
5-
| ^^^^^^^^ help: prefix with `crate::`: `crate::foo::Foo`
5+
| ^^^ help: prefix with `crate::`: `crate::foo`
66
|
77
= note: `-D clippy::use-crate-prefix-for-self-imports` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::use_crate_prefix_for_self_imports)]`

0 commit comments

Comments
 (0)