summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/issues/issue-57979-impl-trait-in-path.stderr
blob: e31393181d734e1b88f07d8538844c17b483488b (plain)
1
2
3
4
5
6
7
8
9
error[E0667]: `impl Trait` is not allowed in path parameters
  --> $DIR/issue-57979-impl-trait-in-path.rs:8:48
   |
LL | pub fn demo(_: impl Quux<(), Assoc=<() as Quux<impl Bar>>::Assoc>) { }
   |                                                ^^^^^^^^

error: aborting due to previous error

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