summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/issues/issue-57979-nested-impl-trait-in-assoc-proj.stderr
blob: 8d3d4b5e20618b0eb4af44bbaa5f3b8a5b0a6442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0666]: nested `impl Trait` is not allowed
  --> $DIR/issue-57979-nested-impl-trait-in-assoc-proj.rs:9:41
   |
LL | pub fn demo(_: impl Quux<Assoc=impl Foo<impl Bar>>) { }
   |                                ---------^^^^^^^^-
   |                                |        |
   |                                |        nested `impl Trait` here
   |                                outer `impl Trait`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0666`.