fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: type `foo::S` is private 2 --> $DIR/fields.rs:15:17 3 | 4LL | let s = S { x: 0 }; 5 | ^^^^^^^^^^ 6... 7LL | 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 12error: type `foo::S` is private 13 --> $DIR/fields.rs:16:17 14 | 15LL | let _ = s.x; 16 | ^ 17... 18LL | 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 23error: type `foo::T` is private 24 --> $DIR/fields.rs:18:17 25 | 26LL | let t = T(0); 27 | ^^^^ 28... 29LL | 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 34error: type `foo::T` is private 35 --> $DIR/fields.rs:19:17 36 | 37LL | let _ = t.0; 38 | ^ 39... 40LL | 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 45error: aborting due to 4 previous errors 46