diff options
Diffstat (limited to 'tests/ui/issues/issue-76077.stderr')
-rw-r--r-- | tests/ui/issues/issue-76077.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-76077.stderr b/tests/ui/issues/issue-76077.stderr new file mode 100644 index 000000000..197ca8d5a --- /dev/null +++ b/tests/ui/issues/issue-76077.stderr @@ -0,0 +1,10 @@ +error: cannot construct `Foo` with struct literal syntax due to private fields + --> $DIR/issue-76077.rs:8:5 + | +LL | foo::Foo {}; + | ^^^^^^^^ + | + = note: ... and other private field `you_cant_use_this_field` that was not provided + +error: aborting due to previous error + |