2023-09-25 04:28:58 -05:00
|
|
|
error: usage of wildcard import
|
2024-01-28 21:29:15 -06:00
|
|
|
--> $DIR/wildcard_imports.rs:18:5
|
2023-09-25 04:28:58 -05:00
|
|
|
|
|
2024-01-28 21:29:15 -06:00
|
|
|
LL | use utils::*;
|
|
|
|
| ^^^^^^^^ help: try: `utils::{BAR, print}`
|
2023-09-25 04:28:58 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::wildcard-imports` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::wildcard_imports)]`
|
|
|
|
|
2024-01-28 21:29:15 -06:00
|
|
|
error: usage of wildcard import
|
|
|
|
--> $DIR/wildcard_imports.rs:20:5
|
|
|
|
|
|
|
|
|
LL | use my_crate::utils::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: try: `my_crate::utils::my_util_fn`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
|
|
|
--> $DIR/wildcard_imports.rs:22:5
|
|
|
|
|
|
|
|
|
LL | use prelude::*;
|
|
|
|
| ^^^^^^^^^^ help: try: `prelude::FOO`
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
2023-09-25 04:28:58 -05:00
|
|
|
|