blob: bf446bd872f762abbcf8bddfbc7d8a7a5d0b66f1 [file] [edit]
error: failed to resolve delegation callee
--> $DIR/recursive-delegation-errors.rs:6:11
|
LL | reuse foo;
| ^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:12:11
|
LL | reuse foo as bar;
| ^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:14:11
|
LL | reuse bar as foo;
| ^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:19:11
|
LL | reuse foo as foo1;
| ^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:21:11
|
LL | reuse foo1 as foo2;
| ^^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:23:11
|
LL | reuse foo2 as foo3;
| ^^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:25:11
|
LL | reuse foo3 as foo4;
| ^^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:27:11
|
LL | reuse foo4 as foo5;
| ^^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:29:11
|
LL | reuse foo5 as foo;
| ^^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:35:22
|
LL | reuse Trait::foo as bar;
| ^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:38:22
|
LL | reuse Trait::bar as foo;
| ^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:45:30
|
LL | reuse super::fifth_mod::{bar as foo, foo as bar};
| ^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:45:42
|
LL | reuse super::fifth_mod::{bar as foo, foo as bar};
| ^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:50:27
|
LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
| ^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:50:39
|
LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
| ^^^
error: encountered a cycle during delegation signature resolution
--> $DIR/recursive-delegation-errors.rs:50:51
|
LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
| ^^^
error[E0283]: type annotations needed
--> $DIR/recursive-delegation-errors.rs:35:22
|
LL | reuse Trait::foo as bar;
| ^^^ cannot infer type
|
= note: the type must implement `fourth_mod::Trait`
error[E0283]: type annotations needed
--> $DIR/recursive-delegation-errors.rs:38:22
|
LL | reuse Trait::bar as foo;
| ^^^ cannot infer type
|
= note: the type must implement `fourth_mod::Trait`
error[E0283]: type annotations needed
--> $DIR/recursive-delegation-errors.rs:50:27
|
LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
| ^^^ cannot infer type
|
= note: the type must implement `GlobReuse`
error[E0283]: type annotations needed
--> $DIR/recursive-delegation-errors.rs:50:39
|
LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
| ^^^ cannot infer type
|
= note: the type must implement `GlobReuse`
error[E0283]: type annotations needed
--> $DIR/recursive-delegation-errors.rs:50:51
|
LL | reuse GlobReuse::{foo as bar, bar as goo, goo as foo};
| ^^^ cannot infer type
|
= note: the type must implement `GlobReuse`
warning: function cannot return without recursing
--> $DIR/recursive-delegation-errors.rs:6:11
|
LL | reuse foo;
| ^^^
| |
| cannot return without recursing
| recursive call site
|
= help: a `loop` may express intention better if this is on purpose
= note: `#[warn(unconditional_recursion)]` on by default
error: aborting due to 21 previous errors; 1 warning emitted
For more information about this error, try `rustc --explain E0283`.