1 error: no path from `WillChange` to `TypeOfItem`
2 --> $DIR/dep-graph-struct-signature.rs:27:5
4 LL | #[rustc_then_this_would_need(TypeOfItem)] //~ ERROR no path
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 error: no path from `WillChange` to `AssociatedItems`
8 --> $DIR/dep-graph-struct-signature.rs:28:5
10 LL | #[rustc_then_this_would_need(AssociatedItems)] //~ ERROR no path
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: no path from `WillChange` to `TraitDefOfItem`
14 --> $DIR/dep-graph-struct-signature.rs:29:5
16 LL | #[rustc_then_this_would_need(TraitDefOfItem)] //~ ERROR no path
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 --> $DIR/dep-graph-struct-signature.rs:35:5
22 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR OK
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 --> $DIR/dep-graph-struct-signature.rs:36:5
28 LL | #[rustc_then_this_would_need(TypeckTables)] //~ ERROR OK
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32 --> $DIR/dep-graph-struct-signature.rs:39:5
34 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR OK
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38 --> $DIR/dep-graph-struct-signature.rs:40:5
40 LL | #[rustc_then_this_would_need(TypeckTables)] //~ ERROR OK
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44 --> $DIR/dep-graph-struct-signature.rs:45:5
46 LL | #[rustc_then_this_would_need(TypeOfItem)] //~ ERROR OK
47 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50 --> $DIR/dep-graph-struct-signature.rs:52:5
52 LL | #[rustc_then_this_would_need(TypeOfItem)] //~ ERROR OK
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56 --> $DIR/dep-graph-struct-signature.rs:60:9
58 LL | #[rustc_then_this_would_need(TypeOfItem)] //~ ERROR OK
59 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62 --> $DIR/dep-graph-struct-signature.rs:62:9
64 LL | #[rustc_then_this_would_need(TypeOfItem)] //~ ERROR OK
65 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
67 error: no path from `WillChange` to `TypeOfItem`
68 --> $DIR/dep-graph-struct-signature.rs:67:5
70 LL | #[rustc_then_this_would_need(TypeOfItem)] //~ ERROR no path
71 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
73 error: no path from `WillChange` to `TypeOfItem`
74 --> $DIR/dep-graph-struct-signature.rs:74:5
76 LL | #[rustc_then_this_would_need(TypeOfItem)] //~ ERROR no path
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79 error: no path from `WillChange` to `FnSignature`
80 --> $DIR/dep-graph-struct-signature.rs:80:5
82 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR no path
83 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
85 error: no path from `WillChange` to `FnSignature`
86 --> $DIR/dep-graph-struct-signature.rs:83:5
88 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR no path from `WillChange`
89 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
91 error: no path from `WillChange` to `TypeckTables`
92 --> $DIR/dep-graph-struct-signature.rs:84:5
94 LL | #[rustc_then_this_would_need(TypeckTables)] //~ ERROR no path from `WillChange`
95 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
98 --> $DIR/dep-graph-struct-signature.rs:31:9
100 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR OK
101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103 error: no path from `WillChange` to `FnSignature`
104 --> $DIR/dep-graph-struct-signature.rs:76:9
106 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR no path
107 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
110 --> $DIR/dep-graph-struct-signature.rs:47:9
112 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR OK
113 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
116 --> $DIR/dep-graph-struct-signature.rs:48:9
118 LL | #[rustc_then_this_would_need(TypeckTables)] //~ ERROR OK
119 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
122 --> $DIR/dep-graph-struct-signature.rs:54:9
124 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR OK
125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
128 --> $DIR/dep-graph-struct-signature.rs:55:9
130 LL | #[rustc_then_this_would_need(TypeckTables)] //~ ERROR OK
131 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
133 error: aborting due to 22 previous errors