1 error: type `fn() {ext::priv_fn}` is private
2 --> $DIR/private-inferred-type-3.rs:16:5
5 | ^^^^^^^^^^ private type
7 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)
9 error: static `PRIV_STATIC` is private
10 --> $DIR/private-inferred-type-3.rs:16:5
13 | ^^^^^^^^^^ private static
15 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)
17 error: type `ext::PrivEnum` is private
18 --> $DIR/private-inferred-type-3.rs:16:5
21 | ^^^^^^^^^^ private type
23 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)
25 error: type `fn() {<u8 as ext::PrivTrait>::method}` is private
26 --> $DIR/private-inferred-type-3.rs:16:5
29 | ^^^^^^^^^^ private type
31 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)
33 error: type `fn(u8) -> ext::PrivTupleStruct {ext::PrivTupleStruct}` is private
34 --> $DIR/private-inferred-type-3.rs:16:5
37 | ^^^^^^^^^^ private type
39 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)
41 error: type `fn(u8) -> PubTupleStruct {PubTupleStruct}` is private
42 --> $DIR/private-inferred-type-3.rs:16:5
45 | ^^^^^^^^^^ private type
47 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)
49 error: type `for<'r> fn(&'r Pub<u8>) {Pub::<u8>::priv_method}` is private
50 --> $DIR/private-inferred-type-3.rs:16:5
53 | ^^^^^^^^^^ private type
55 = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)
57 error: aborting due to 7 previous errors