rust/tests/ui/impl-trait/issues/issue-57979-deeply-nested-impl-trait-in-assoc-proj.stderr

13 lines
557 B
Plaintext
Raw Normal View History

error[E0666]: nested `impl Trait` is not allowed
2019-08-03 14:59:22 -05:00
--> $DIR/issue-57979-deeply-nested-impl-trait-in-assoc-proj.rs:14:48
|
2019-08-03 14:59:22 -05:00
LL | pub fn demo(_: impl Quux<Assoc=Deeper<impl Foo<impl Bar>>>) { }
| ---------^^^^^^^^-
| | |
| | nested `impl Trait` here
| outer `impl Trait`
2019-08-03 14:59:22 -05:00
error: aborting due to previous error
2019-10-26 17:44:23 -05:00
For more information about this error, try `rustc --explain E0666`.