1 error: type `foo::S` is private
2 --> $DIR/fields.rs:15:17
4 LL | let s = S { x: 0 };
7 LL | let s = foo::m!(S, x);
8 | ------------- in this macro invocation
10 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
12 error: type `foo::S` is private
13 --> $DIR/fields.rs:16:17
18 LL | let s = foo::m!(S, x);
19 | ------------- in this macro invocation
21 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
23 error: type `foo::T` is private
24 --> $DIR/fields.rs:18:17
29 LL | let s = foo::m!(S, x);
30 | ------------- in this macro invocation
32 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
34 error: type `foo::T` is private
35 --> $DIR/fields.rs:19:17
40 LL | let s = foo::m!(S, x);
41 | ------------- in this macro invocation
43 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
45 error: aborting due to 4 previous errors