diff options
Diffstat (limited to 'tests/ui/imports/issue-28388-2.stderr')
-rw-r--r-- | tests/ui/imports/issue-28388-2.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/imports/issue-28388-2.stderr b/tests/ui/imports/issue-28388-2.stderr new file mode 100644 index 000000000..1afaf622b --- /dev/null +++ b/tests/ui/imports/issue-28388-2.stderr @@ -0,0 +1,15 @@ +error[E0603]: module `n` is private + --> $DIR/issue-28388-2.rs:7:8 + | +LL | use m::n::{}; + | ^ private module + | +note: the module `n` is defined here + --> $DIR/issue-28388-2.rs:4:5 + | +LL | mod n {} + | ^^^^^ + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0603`. |