]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-75907_b.rs
1 // Test for diagnostic improvement issue #75907, extern crate
2 // aux-build:issue-75907.rs
4 extern crate issue_75907
as a
;
6 use a
::{make_bar, Bar, Foo}
;
9 let Bar(x
, y
, z
) = make_bar();
10 //~^ ERROR cannot match against a tuple struct which contains private fields
12 let Foo(x
, y
, z
) = Foo
::new();
13 //~^ ERROR cannot match against a tuple struct which contains private fields