fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
622 B21 linesraw
1error[E0603]: tuple struct constructor `A` is private
2  --> $DIR/issue-111220-tuple-struct-fields.rs:8:13
3   |
4LL |         let Self(x) = self;
5   |             ^^^^^^^
6
7error[E0603]: tuple struct constructor `A` is private
8  --> $DIR/issue-111220-tuple-struct-fields.rs:20:13
9   |
10LL |         let Self(a) = self;
11   |             ^^^^^^^
12
13error[E0603]: tuple struct constructor `A` is private
14  --> $DIR/issue-111220-tuple-struct-fields.rs:40:13
15   |
16LL |         let Self(a) = self;
17   |             ^^^^^^^
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0603`.