]> git.proxmox.com Git - rustc.git/blame - src/test/ui/use/use-mod/use-mod-3.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / use / use-mod / use-mod-3.stderr
CommitLineData
b7449926 1error[E0603]: module `bar` is private
0731742a 2 --> $DIR/use-mod-3.rs:1:10
b7449926 3 |
532ac7d7 4LL | use foo::bar::{
ba9703b0 5 | ^^^ private module
dfeec247
XL
6 |
7note: the module `bar` is defined here
8 --> $DIR/use-mod-3.rs:9:5
9 |
10LL | mod bar { pub type Bar = isize; }
11 | ^^^^^^^
b7449926
XL
12
13error[E0603]: module `bar` is private
0731742a 14 --> $DIR/use-mod-3.rs:4:10
b7449926 15 |
532ac7d7 16LL | use foo::bar::{
ba9703b0 17 | ^^^ private module
dfeec247
XL
18 |
19note: the module `bar` is defined here
20 --> $DIR/use-mod-3.rs:9:5
21 |
22LL | mod bar { pub type Bar = isize; }
23 | ^^^^^^^
b7449926
XL
24
25error: aborting due to 2 previous errors
26
27For more information about this error, try `rustc --explain E0603`.