]> git.proxmox.com Git - rustc.git/blob - src/test/ui/hygiene/fields.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / hygiene / fields.stderr
1 error: type `foo::S` is private
2 --> $DIR/fields.rs:15:17
3 |
4 LL | let s = S { x: 0 };
5 | ^^^^^^^^^^
6 ...
7 LL | let s = foo::m!(S, x);
8 | ------------- in this macro invocation
9 |
10 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error: type `foo::S` is private
13 --> $DIR/fields.rs:16:17
14 |
15 LL | let _ = s.x;
16 | ^
17 ...
18 LL | let s = foo::m!(S, x);
19 | ------------- in this macro invocation
20 |
21 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
22
23 error: type `foo::T` is private
24 --> $DIR/fields.rs:18:17
25 |
26 LL | let t = T(0);
27 | ^^^^
28 ...
29 LL | let s = foo::m!(S, x);
30 | ------------- in this macro invocation
31 |
32 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
33
34 error: type `foo::T` is private
35 --> $DIR/fields.rs:19:17
36 |
37 LL | let _ = t.0;
38 | ^
39 ...
40 LL | let s = foo::m!(S, x);
41 | ------------- in this macro invocation
42 |
43 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
44
45 error: aborting due to 4 previous errors
46