fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: usage of wildcard import 2 --> $DIR/wildcard_imports.rs:15:5 3 | 4LL | use crate::fn_mod::*; 5 | ^^^^^^^^^^^^^^^^ help: try: `crate::fn_mod::foo` 6 | 7 = note: `-D clippy::wildcard-imports` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::wildcard_imports)]` 9 10error: usage of wildcard import 11 --> $DIR/wildcard_imports.rs:16:5 12 | 13LL | use crate::mod_mod::*; 14 | ^^^^^^^^^^^^^^^^^ help: try: `crate::mod_mod::inner_mod` 15 16error: usage of wildcard import 17 --> $DIR/wildcard_imports.rs:17:5 18 | 19LL | use crate::multi_fn_mod::*; 20 | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::multi_fn_mod::{multi_bar, multi_foo, multi_inner_mod}` 21 22error: usage of wildcard import 23 --> $DIR/wildcard_imports.rs:19:5 24 | 25LL | use crate::struct_mod::*; 26 | ^^^^^^^^^^^^^^^^^^^^ help: try: `crate::struct_mod::{A, inner_struct_mod}` 27 28error: usage of wildcard import 29 --> $DIR/wildcard_imports.rs:23:5 30 | 31LL | use wildcard_imports_helper::inner::inner_for_self_import::*; 32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::inner::inner_for_self_import::inner_extern_bar` 33 34error: usage of wildcard import 35 --> $DIR/wildcard_imports.rs:24:5 36 | 37LL | use wildcard_imports_helper::*; 38 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternA, extern_foo}` 39 40error: usage of wildcard import 41 --> $DIR/wildcard_imports.rs:97:13 42 | 43LL | use crate::fn_mod::*; 44 | ^^^^^^^^^^^^^^^^ help: try: `crate::fn_mod::foo` 45 46error: usage of wildcard import 47 --> $DIR/wildcard_imports.rs:103:75 48 | 49LL | use wildcard_imports_helper::inner::inner_for_self_import::{self, *}; 50 | ^ help: try: `inner_extern_foo` 51 52error: usage of wildcard import 53 --> $DIR/wildcard_imports.rs:104:13 54 | 55LL | use wildcard_imports_helper::*; 56 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternA, extern_foo}` 57 58error: usage of wildcard import 59 --> $DIR/wildcard_imports.rs:116:20 60 | 61LL | use self::{inner::*, inner2::*}; 62 | ^^^^^^^^ help: try: `inner::inner_foo` 63 64error: usage of wildcard import 65 --> $DIR/wildcard_imports.rs:116:30 66 | 67LL | use self::{inner::*, inner2::*}; 68 | ^^^^^^^^^ help: try: `inner2::inner_bar` 69 70error: usage of wildcard import 71 --> $DIR/wildcard_imports.rs:123:13 72 | 73LL | use wildcard_imports_helper::*; 74 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `wildcard_imports_helper::{ExternExportedEnum, ExternExportedStruct, extern_exported}` 75 76error: usage of wildcard import 77 --> $DIR/wildcard_imports.rs:152:9 78 | 79LL | use crate::in_fn_test::*; 80 | ^^^^^^^^^^^^^^^^^^^^ help: try: `crate::in_fn_test::{ExportedEnum, ExportedStruct, exported}` 81 82error: usage of wildcard import 83 --> $DIR/wildcard_imports.rs:161:9 84 | 85LL | use crate:: in_fn_test:: * ; 86 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate:: in_fn_test::exported` 87 88error: usage of wildcard import 89 --> $DIR/wildcard_imports.rs:162:9 90 | 91LL | use crate:: fn_mod:: 92 | _________^ 93LL | | *; 94 | |_________^ help: try: `crate:: fn_mod::foo` 95 96error: usage of wildcard import 97 --> $DIR/wildcard_imports.rs:173:13 98 | 99LL | use super::*; 100 | ^^^^^^^^ help: try: `super::foofoo` 101 102error: usage of wildcard import 103 --> $DIR/wildcard_imports.rs:208:17 104 | 105LL | use super::*; 106 | ^^^^^^^^ help: try: `super::insidefoo` 107 108error: usage of wildcard import 109 --> $DIR/wildcard_imports.rs:216:13 110 | 111LL | use crate::super_imports::*; 112 | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::super_imports::foofoo` 113 114error: usage of wildcard import 115 --> $DIR/wildcard_imports.rs:225:17 116 | 117LL | use super::super::*; 118 | ^^^^^^^^^^^^^^^ help: try: `super::super::foofoo` 119 120error: usage of wildcard import 121 --> $DIR/wildcard_imports.rs:234:13 122 | 123LL | use super::super::super_imports::*; 124 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `super::super::super_imports::foofoo` 125 126error: usage of wildcard import 127 --> $DIR/wildcard_imports.rs:242:13 128 | 129LL | use super::*; 130 | ^^^^^^^^ help: try: `super::foofoo` 131 132error: aborting due to 21 previous errors 133