2022-12-29 07:28:34 -06:00
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:13:5
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use crate::fn_mod::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^ help: try: `crate::fn_mod::foo`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::wildcard-imports` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::wildcard_imports)]`
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:14:5
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use crate::mod_mod::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^ help: try: `crate::mod_mod::inner_mod`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:15:5
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use crate::multi_fn_mod::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::multi_fn_mod::{multi_bar, multi_foo, multi_inner_mod}`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:16:5
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use crate::struct_mod::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ help: try: `crate::struct_mod::{A, inner_struct_mod}`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:19:5
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use wildcard_imports_helper::inner::inner_for_self_import::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::inner::inner_for_self_import::inner_extern_bar`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:21:5
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use wildcard_imports_helper::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternA, extern_foo}`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:89:13
|
2023-02-06 06:09:39 -06:00
|
|
|
|
|
|
|
|
LL | use exports_underscore_ish::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `exports_underscore_ish::{_Deref, dummy}`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:119:13
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use crate::fn_mod::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^ help: try: `crate::fn_mod::foo`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:125:75
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use wildcard_imports_helper::inner::inner_for_self_import::{self, *};
|
|
|
|
| ^ help: try: `inner_extern_foo`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:126:13
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use wildcard_imports_helper::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternA, extern_foo}`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:138:20
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use self::{inner::*, inner2::*};
|
|
|
|
| ^^^^^^^^ help: try: `inner::inner_foo`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:138:30
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use self::{inner::*, inner2::*};
|
|
|
|
| ^^^^^^^^^ help: try: `inner2::inner_bar`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:145:13
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use wildcard_imports_helper::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternExportedEnum, ExternExportedStruct, extern_exported}`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:174:9
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use crate::in_fn_test::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ help: try: `crate::in_fn_test::{ExportedEnum, ExportedStruct, exported}`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:183:9
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use crate:: in_fn_test:: * ;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate:: in_fn_test::exported`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:184:9
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use crate:: fn_mod::
|
|
|
|
| _________^
|
|
|
|
LL | | *;
|
|
|
|
| |_________^ help: try: `crate:: fn_mod::foo`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:195:13
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use super::*;
|
|
|
|
| ^^^^^^^^ help: try: `super::foofoo`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:230:17
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use super::*;
|
|
|
|
| ^^^^^^^^ help: try: `super::insidefoo`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:238:13
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use crate::super_imports::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::super_imports::foofoo`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:247:17
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use super::super::*;
|
|
|
|
| ^^^^^^^^^^^^^^^ help: try: `super::super::foofoo`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:256:13
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use super::super::super_imports::*;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `super::super::super_imports::foofoo`
|
|
|
|
|
|
|
|
error: usage of wildcard import
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/wildcard_imports_2021.rs:264:13
|
2022-12-29 07:28:34 -06:00
|
|
|
|
|
|
|
|
LL | use super::*;
|
|
|
|
| ^^^^^^^^ help: try: `super::foofoo`
|
|
|
|
|
2023-02-06 06:09:39 -06:00
|
|
|
error: aborting due to 22 previous errors
|
2022-12-29 07:28:34 -06:00
|
|
|
|