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