]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/not_well_formed.full_tait.stderr
Loop over all opaque types instead of looking at just the first one with the same...
[rust.git] / src / test / ui / type-alias-impl-trait / not_well_formed.full_tait.stderr
1 warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes
2   --> $DIR/not_well_formed.rs:3:32
3    |
4 LL | #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
5    |                                ^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `#[warn(incomplete_features)]` on by default
8    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
9
10 error[E0220]: associated type `Assoc` not found for `V`
11   --> $DIR/not_well_formed.rs:13:29
12    |
13 LL | type Foo<V> = impl Trait<V::Assoc>;
14    |                             ^^^^^ associated type `Assoc` not found
15
16 error: aborting due to previous error; 1 warning emitted
17
18 For more information about this error, try `rustc --explain E0220`.