1+ error: failed to resolve delegation callee
2+ --> $DIR/recursive-delegation-errors.rs:4:11
3+ |
4+ LL | reuse foo;
5+ | ^^^
6+
17error: encountered a cycle during delegation signature resolution
2- --> $DIR/recursive-delegation-errors.rs:9 :11
8+ --> $DIR/recursive-delegation-errors.rs:10 :11
39 |
410LL | reuse foo as bar;
511 | ^^^
612
713error: encountered a cycle during delegation signature resolution
8- --> $DIR/recursive-delegation-errors.rs:11 :11
14+ --> $DIR/recursive-delegation-errors.rs:12 :11
915 |
1016LL | reuse bar as foo;
1117 | ^^^
1218
1319error: encountered a cycle during delegation signature resolution
14- --> $DIR/recursive-delegation-errors.rs:16 :11
20+ --> $DIR/recursive-delegation-errors.rs:17 :11
1521 |
1622LL | reuse foo as foo1;
1723 | ^^^
1824
1925error: encountered a cycle during delegation signature resolution
20- --> $DIR/recursive-delegation-errors.rs:18 :11
26+ --> $DIR/recursive-delegation-errors.rs:19 :11
2127 |
2228LL | reuse foo1 as foo2;
2329 | ^^^^
2430
2531error: encountered a cycle during delegation signature resolution
26- --> $DIR/recursive-delegation-errors.rs:20 :11
32+ --> $DIR/recursive-delegation-errors.rs:21 :11
2733 |
2834LL | reuse foo2 as foo3;
2935 | ^^^^
3036
3137error: encountered a cycle during delegation signature resolution
32- --> $DIR/recursive-delegation-errors.rs:22 :11
38+ --> $DIR/recursive-delegation-errors.rs:23 :11
3339 |
3440LL | reuse foo3 as foo4;
3541 | ^^^^
3642
3743error: encountered a cycle during delegation signature resolution
38- --> $DIR/recursive-delegation-errors.rs:24 :11
44+ --> $DIR/recursive-delegation-errors.rs:25 :11
3945 |
4046LL | reuse foo4 as foo5;
4147 | ^^^^
4248
4349error: encountered a cycle during delegation signature resolution
44- --> $DIR/recursive-delegation-errors.rs:26 :11
50+ --> $DIR/recursive-delegation-errors.rs:27 :11
4551 |
4652LL | reuse foo5 as foo;
4753 | ^^^^
4854
4955error: encountered a cycle during delegation signature resolution
50- --> $DIR/recursive-delegation-errors.rs:32 :22
56+ --> $DIR/recursive-delegation-errors.rs:33 :22
5157 |
5258LL | reuse Trait::foo as bar;
5359 | ^^^
5460
5561error: encountered a cycle during delegation signature resolution
56- --> $DIR/recursive-delegation-errors.rs:35 :22
62+ --> $DIR/recursive-delegation-errors.rs:36 :22
5763 |
5864LL | reuse Trait::bar as foo;
5965 | ^^^
6066
6167error: encountered a cycle during delegation signature resolution
62- --> $DIR/recursive-delegation-errors.rs:42 :30
68+ --> $DIR/recursive-delegation-errors.rs:43 :30
6369 |
6470LL | reuse super::fifth_mod::{bar as foo, foo as bar};
6571 | ^^^
6672
6773error: encountered a cycle during delegation signature resolution
68- --> $DIR/recursive-delegation-errors.rs:42 :42
74+ --> $DIR/recursive-delegation-errors.rs:43 :42
6975 |
7076LL | reuse super::fifth_mod::{bar as foo, foo as bar};
7177 | ^^^
7278
7379error: encountered a cycle during delegation signature resolution
74- --> $DIR/recursive-delegation-errors.rs:47 :27
80+ --> $DIR/recursive-delegation-errors.rs:48 :27
7581 |
7682LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
7783 | ^^^
7884
7985error: encountered a cycle during delegation signature resolution
80- --> $DIR/recursive-delegation-errors.rs:47 :39
86+ --> $DIR/recursive-delegation-errors.rs:48 :39
8187 |
8288LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
8389 | ^^^
8490
8591error: encountered a cycle during delegation signature resolution
86- --> $DIR/recursive-delegation-errors.rs:47 :51
92+ --> $DIR/recursive-delegation-errors.rs:48 :51
8793 |
8894LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
8995 | ^^^
9096
9197error[E0283]: type annotations needed
92- --> $DIR/recursive-delegation-errors.rs:32 :22
98+ --> $DIR/recursive-delegation-errors.rs:33 :22
9399 |
94100LL | reuse Trait::foo as bar;
95101 | ^^^ cannot infer type
96102 |
97103 = note: the type must implement `fourth_mod::Trait`
98104
99105error[E0283]: type annotations needed
100- --> $DIR/recursive-delegation-errors.rs:35 :22
106+ --> $DIR/recursive-delegation-errors.rs:36 :22
101107 |
102108LL | reuse Trait::bar as foo;
103109 | ^^^ cannot infer type
104110 |
105111 = note: the type must implement `fourth_mod::Trait`
106112
107113error[E0283]: type annotations needed
108- --> $DIR/recursive-delegation-errors.rs:47 :27
114+ --> $DIR/recursive-delegation-errors.rs:48 :27
109115 |
110116LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
111117 | ^^^ cannot infer type
112118 |
113119 = note: the type must implement `GlobReuse`
114120
115121error[E0283]: type annotations needed
116- --> $DIR/recursive-delegation-errors.rs:47 :39
122+ --> $DIR/recursive-delegation-errors.rs:48 :39
117123 |
118124LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
119125 | ^^^ cannot infer type
120126 |
121127 = note: the type must implement `GlobReuse`
122128
123129error[E0283]: type annotations needed
124- --> $DIR/recursive-delegation-errors.rs:47 :51
130+ --> $DIR/recursive-delegation-errors.rs:48 :51
125131 |
126132LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
127133 | ^^^ cannot infer type
@@ -140,6 +146,6 @@ LL | reuse foo;
140146 = help: a `loop` may express intention better if this is on purpose
141147 = note: `#[warn(unconditional_recursion)]` on by default
142148
143- error: aborting due to 20 previous errors; 1 warning emitted
149+ error: aborting due to 21 previous errors; 1 warning emitted
144150
145151For more information about this error, try `rustc --explain E0283`.
0 commit comments