fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
687 B26 linesraw
1error: unused imports: `*`, `Foo`, `baz::{}`, `foobar::*`
2  --> $DIR/use-nested-groups-unused-imports.rs:16:11
3   |
4LL | use foo::{Foo, bar::{baz::{}, foobar::*}, *};
5   |           ^^^        ^^^^^^^  ^^^^^^^^^   ^
6   |
7note: the lint level is defined here
8  --> $DIR/use-nested-groups-unused-imports.rs:3:9
9   |
10LL | #![deny(unused_imports)]
11   |         ^^^^^^^^^^^^^^
12
13error: unused import: `*`
14  --> $DIR/use-nested-groups-unused-imports.rs:18:24
15   |
16LL | use foo::bar::baz::{*, *};
17   |                        ^
18
19error: unused import: `foo::{}`
20  --> $DIR/use-nested-groups-unused-imports.rs:20:5
21   |
22LL | use foo::{};
23   |     ^^^^^^^
24
25error: aborting due to 3 previous errors
26