diff options
Diffstat (limited to 'tests/ui/hygiene/nested_macro_privacy.stderr')
-rw-r--r-- | tests/ui/hygiene/nested_macro_privacy.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/hygiene/nested_macro_privacy.stderr b/tests/ui/hygiene/nested_macro_privacy.stderr new file mode 100644 index 000000000..1d11cd0f5 --- /dev/null +++ b/tests/ui/hygiene/nested_macro_privacy.stderr @@ -0,0 +1,9 @@ +error[E0616]: field `i` of struct `S` is private + --> $DIR/nested_macro_privacy.rs:15:18 + | +LL | S::default().i; + | ^ private field + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0616`. |