summaryrefslogtreecommitdiffstats
path: root/src/test/ui/privacy/private-inferred-type-3.stderr
blob: f9dd1c3d03509a719d70800a7b08625105b8b209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
error: type `fn() {ext::priv_fn}` is private
  --> $DIR/private-inferred-type-3.rs:16:5
   |
LL |     ext::m!();
   |     ^^^^^^^^^ private type
   |
   = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)

error: static `PRIV_STATIC` is private
  --> $DIR/private-inferred-type-3.rs:16:5
   |
LL |     ext::m!();
   |     ^^^^^^^^^ private static
   |
   = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)

error: type `ext::PrivEnum` is private
  --> $DIR/private-inferred-type-3.rs:16:5
   |
LL |     ext::m!();
   |     ^^^^^^^^^ private type
   |
   = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)

error: type `fn() {<u8 as ext::PrivTrait>::method}` is private
  --> $DIR/private-inferred-type-3.rs:16:5
   |
LL |     ext::m!();
   |     ^^^^^^^^^ private type
   |
   = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)

error: type `fn(u8) -> ext::PrivTupleStruct {ext::PrivTupleStruct}` is private
  --> $DIR/private-inferred-type-3.rs:16:5
   |
LL |     ext::m!();
   |     ^^^^^^^^^ private type
   |
   = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)

error: type `fn(u8) -> PubTupleStruct {PubTupleStruct}` is private
  --> $DIR/private-inferred-type-3.rs:16:5
   |
LL |     ext::m!();
   |     ^^^^^^^^^ private type
   |
   = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)

error: type `for<'r> fn(&'r Pub<u8>) {Pub::<u8>::priv_method}` is private
  --> $DIR/private-inferred-type-3.rs:16:5
   |
LL |     ext::m!();
   |     ^^^^^^^^^ private type
   |
   = note: this error originates in the macro `ext::m` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 7 previous errors