rust/tests/ui/use/use-mod/use-mod-3.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
638 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0603]: module `bar` is private
2018-12-25 09:56:47 -06:00
--> $DIR/use-mod-3.rs:1:10
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | use foo::bar::{
| ^^^ private module
|
note: the module `bar` is defined here
--> $DIR/use-mod-3.rs:9:5
|
LL | mod bar { pub type Bar = isize; }
| ^^^^^^^
2018-08-08 07:28:26 -05:00
error[E0603]: module `bar` is private
2018-12-25 09:56:47 -06:00
--> $DIR/use-mod-3.rs:4:10
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | use foo::bar::{
| ^^^ private module
|
note: the module `bar` is defined here
--> $DIR/use-mod-3.rs:9:5
|
LL | mod bar { pub type Bar = isize; }
| ^^^^^^^
2018-08-08 07:28:26 -05:00
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0603`.