rust/tests/ui/wildcard_imports.stderr

133 lines
4.2 KiB
Plaintext
Raw Normal View History

2020-01-07 10:53:33 -06:00
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:17:5
2020-01-07 10:53:33 -06:00
|
LL | use crate::fn_mod::*;
| ^^^^^^^^^^^^^^^^ help: try: `crate::fn_mod::foo`
|
= note: `-D clippy::wildcard-imports` implied by `-D warnings`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:18:5
2020-01-07 10:53:33 -06:00
|
LL | use crate::mod_mod::*;
| ^^^^^^^^^^^^^^^^^ help: try: `crate::mod_mod::inner_mod`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:19:5
2020-01-07 10:53:33 -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
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:21:5
2020-01-07 10:53:33 -06:00
|
LL | use crate::struct_mod::*;
| ^^^^^^^^^^^^^^^^^^^^ help: try: `crate::struct_mod::{A, inner_struct_mod}`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:25:5
2020-01-07 10:53:33 -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
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:26:5
2020-01-07 10:53:33 -06:00
|
LL | use wildcard_imports_helper::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternA, extern_foo}`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:97:13
2020-01-07 10:53:33 -06:00
|
LL | use crate::fn_mod::*;
| ^^^^^^^^^^^^^^^^ help: try: `crate::fn_mod::foo`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:103:75
2020-01-07 10:53:33 -06:00
|
LL | use wildcard_imports_helper::inner::inner_for_self_import::{self, *};
| ^ help: try: `inner_extern_foo`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:104:13
2020-01-07 10:53:33 -06:00
|
LL | use wildcard_imports_helper::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternA, extern_foo}`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:115:20
2020-01-07 10:53:33 -06:00
|
LL | use self::{inner::*, inner2::*};
| ^^^^^^^^ help: try: `inner::inner_foo`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:115:30
2020-01-07 10:53:33 -06:00
|
LL | use self::{inner::*, inner2::*};
| ^^^^^^^^^ help: try: `inner2::inner_bar`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:122:13
2020-01-07 10:53:33 -06:00
|
LL | use wildcard_imports_helper::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternExportedEnum, ExternExportedStruct, extern_exported}`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:151:9
2020-01-07 10:53:33 -06:00
|
LL | use crate::in_fn_test::*;
| ^^^^^^^^^^^^^^^^^^^^ help: try: `crate::in_fn_test::{ExportedEnum, ExportedStruct, exported}`
2020-02-21 03:15:38 -06:00
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:160:9
2020-02-21 03:15:38 -06:00
|
LL | use crate:: in_fn_test:: * ;
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate:: in_fn_test::exported`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:161:9
2020-02-21 03:15:38 -06:00
|
LL | use crate:: fn_mod::
| _________^
LL | | *;
| |_________^ help: try: `crate:: fn_mod::foo`
2020-05-03 12:56:25 -05:00
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:172:13
|
LL | use super::*;
| ^^^^^^^^ help: try: `super::foofoo`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:207:17
|
LL | use super::*;
| ^^^^^^^^ help: try: `super::insidefoo`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:215:13
2020-05-03 12:56:25 -05:00
|
LL | use super_imports::*;
| ^^^^^^^^^^^^^^^^ help: try: `super_imports::foofoo`
2020-05-03 12:56:25 -05:00
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:224:17
2020-05-03 12:56:25 -05:00
|
LL | use super::super::*;
| ^^^^^^^^^^^^^^^ help: try: `super::super::foofoo`
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:233:13
2020-05-03 12:56:25 -05:00
|
LL | use super::super::super_imports::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `super::super::super_imports::foofoo`
2020-05-03 12:56:25 -05:00
2021-10-06 17:14:06 -05:00
error: usage of wildcard import
2021-10-23 02:42:52 -05:00
--> $DIR/wildcard_imports.rs:241:13
2021-10-06 17:14:06 -05:00
|
LL | use super::*;
| ^^^^^^^^ help: try: `super::foofoo`
error: aborting due to 21 previous errors
2020-01-07 10:53:33 -06:00