1error: type `fn() {ext::priv_fn}` is private 2 --> $DIR/private-inferred-type-3.rs:16:5 3 | 4LL | ext::m!(); 5 | ^^^^^^^^^ private type 6 | 7 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info) 8 9error: static `PRIV_STATIC` is private 10 --> $DIR/private-inferred-type-3.rs:16:5 11 | 12LL | ext::m!(); 13 | ^^^^^^^^^ private static 14 | 15 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info) 16 17error: type `ext::PrivEnum` is private 18 --> $DIR/private-inferred-type-3.rs:16:5 19 | 20LL | ext::m!(); 21 | ^^^^^^^^^ private type 22 | 23 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info) 24 25error: type `fn() {<u8 as ext::PrivTrait>::method}` is private 26 --> $DIR/private-inferred-type-3.rs:16:5 27 | 28LL | ext::m!(); 29 | ^^^^^^^^^ private type 30 | 31 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info) 32 33error: type `fn(u8) -> ext::PrivTupleStruct {ext::PrivTupleStruct}` is private 34 --> $DIR/private-inferred-type-3.rs:16:5 35 | 36LL | ext::m!(); 37 | ^^^^^^^^^ private type 38 | 39 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info) 40 41error: type `fn(u8) -> PubTupleStruct {PubTupleStruct}` is private 42 --> $DIR/private-inferred-type-3.rs:16:5 43 | 44LL | ext::m!(); 45 | ^^^^^^^^^ private type 46 | 47 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info) 48 49error: type `for<'r> fn(&'r Pub<u8>) {Pub::<u8>::priv_method}` is private 50 --> $DIR/private-inferred-type-3.rs:16:5 51 | 52LL | ext::m!(); 53 | ^^^^^^^^^ private type 54 | 55 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info) 56 57error: aborting due to 7 previous errors 58 59