Skip to content

Commit 0eba015

Browse files
bless test
1 parent 2c05214 commit 0eba015

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

tests/ui/shadowed/shadowed-use-visibility.stderr

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
error[E0603]: module import `f` is private
2-
--> $DIR/shadowed-use-visibility.rs:15:10
1+
error[E0603]: module import `bar` is private
2+
--> $DIR/shadowed-use-visibility.rs:9:21
33
|
4-
LL | use bar::f::f;
5-
| ^ private module import
4+
LL | use crate::foo::bar::f as g;
5+
| ^^^ private module import
66
|
7-
note: the module import `f` is defined here...
8-
--> $DIR/shadowed-use-visibility.rs:11:9
7+
note: the module import `bar` is defined here...
8+
--> $DIR/shadowed-use-visibility.rs:4:9
99
|
10-
LL | use crate::foo as f;
11-
| ^^^^^^^^^^^^^^^
10+
LL | use crate::foo as bar;
11+
| ^^^^^^^^^^^^^^^^^
1212
note: ...and refers to the module `foo` which is defined here
1313
--> $DIR/shadowed-use-visibility.rs:1:1
1414
|
1515
LL | mod foo {
1616
| ^^^^^^^
1717

18-
error[E0603]: module import `bar` is private
19-
--> $DIR/shadowed-use-visibility.rs:9:21
18+
error[E0603]: module import `f` is private
19+
--> $DIR/shadowed-use-visibility.rs:15:10
2020
|
21-
LL | use crate::foo::bar::f as g;
22-
| ^^^ private module import
21+
LL | use bar::f::f;
22+
| ^ private module import
2323
|
24-
note: the module import `bar` is defined here...
25-
--> $DIR/shadowed-use-visibility.rs:4:9
24+
note: the module import `f` is defined here...
25+
--> $DIR/shadowed-use-visibility.rs:11:9
2626
|
27-
LL | use crate::foo as bar;
28-
| ^^^^^^^^^^^^^^^^^
27+
LL | use crate::foo as f;
28+
| ^^^^^^^^^^^^^^^
2929
note: ...and refers to the module `foo` which is defined here
3030
--> $DIR/shadowed-use-visibility.rs:1:1
3131
|

0 commit comments

Comments
 (0)