fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
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 10error: type `foo::S` is private 11 --> $DIR/fields.rs:16:17 12 | 13LL | let _ = s.x; 14 | ^ 15... 16LL | let s = foo::m!(S, x); 17 | ------------- in this macro invocation 18 19error: type `foo::T` is private 20 --> $DIR/fields.rs:18:17 21 | 22LL | let t = T(0); 23 | ^^^^ 24... 25LL | let s = foo::m!(S, x); 26 | ------------- in this macro invocation 27 28error: type `foo::T` is private 29 --> $DIR/fields.rs:19:17 30 | 31LL | let _ = t.0; 32 | ^ 33... 34LL | let s = foo::m!(S, x); 35 | ------------- in this macro invocation 36 37error: aborting due to 4 previous errors 38