rust/tests/ui/impl-trait/issues/issue-57979-impl-trait-in-path.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
361 B
Plaintext
Raw Normal View History

2019-08-03 14:59:22 -05:00
error[E0667]: `impl Trait` is not allowed in path parameters
--> $DIR/issue-57979-impl-trait-in-path.rs:8:48
|
2019-08-03 14:59:22 -05:00
LL | pub fn demo(_: impl Quux<(), Assoc=<() as Quux<impl Bar>>::Assoc>) { }
| ^^^^^^^^
error: aborting due to previous error
2022-03-27 12:21:50 -05:00
For more information about this error, try `rustc --explain E0667`.