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