1 error: no path from `WillChange` to `TypeOfItem`
2 --> $DIR/dep-graph-struct-signature.rs:37: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:38: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:39:5
16 LL | #[rustc_then_this_would_need(TraitDefOfItem)] //~ ERROR no path
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 --> $DIR/dep-graph-struct-signature.rs:45:5
22 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR OK
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 --> $DIR/dep-graph-struct-signature.rs:46:5
28 LL | #[rustc_then_this_would_need(TypeckTables)] //~ ERROR OK
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32 --> $DIR/dep-graph-struct-signature.rs:49:5
34 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR OK
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38 --> $DIR/dep-graph-struct-signature.rs:50:5
40 LL | #[rustc_then_this_would_need(TypeckTables)] //~ ERROR OK
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44 --> $DIR/dep-graph-struct-signature.rs:55:5
46 LL | #[rustc_then_this_would_need(TypeOfItem)] //~ ERROR OK
47 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50 --> $DIR/dep-graph-struct-signature.rs:62:5
52 LL | #[rustc_then_this_would_need(TypeOfItem)] //~ ERROR OK
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56 --> $DIR/dep-graph-struct-signature.rs:70:9
58 LL | #[rustc_then_this_would_need(TypeOfItem)] //~ ERROR OK
59 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62 --> $DIR/dep-graph-struct-signature.rs:72: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:77: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:84: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:90:5
82 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR no path
83 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
85 error: no path from `WillChange` to `TypeckTables`
86 --> $DIR/dep-graph-struct-signature.rs:91:5
88 LL | #[rustc_then_this_would_need(TypeckTables)] //~ ERROR no path
89 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
91 error: no path from `WillChange` to `FnSignature`
92 --> $DIR/dep-graph-struct-signature.rs:94:5
94 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR no path from `WillChange`
95 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
97 error: no path from `WillChange` to `TypeckTables`
98 --> $DIR/dep-graph-struct-signature.rs:95:5
100 LL | #[rustc_then_this_would_need(TypeckTables)] //~ ERROR no path from `WillChange`
101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
104 --> $DIR/dep-graph-struct-signature.rs:41:9
106 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR OK
107 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109 error: no path from `WillChange` to `FnSignature`
110 --> $DIR/dep-graph-struct-signature.rs:86:9
112 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR no path
113 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
116 --> $DIR/dep-graph-struct-signature.rs:57:9
118 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR OK
119 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
122 --> $DIR/dep-graph-struct-signature.rs:58:9
124 LL | #[rustc_then_this_would_need(TypeckTables)] //~ ERROR OK
125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
128 --> $DIR/dep-graph-struct-signature.rs:64:9
130 LL | #[rustc_then_this_would_need(FnSignature)] //~ ERROR OK
131 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
134 --> $DIR/dep-graph-struct-signature.rs:65:9
136 LL | #[rustc_then_this_would_need(TypeckTables)] //~ ERROR OK
137 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
139 error: aborting due to 23 previous errors