]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/nested-return-type3-tait2.stderr
Be more careful about unresolved exprs in suggestion
[rust.git] / src / test / ui / impl-trait / nested-return-type3-tait2.stderr
1 warning: opaque type `Traitable` does not satisfy its associated type bounds
2   --> $DIR/nested-return-type3-tait2.rs:18:29
3    |
4 LL |     type Assoc: Duh;
5    |                 --- this associated type bound is unsatisfied for `Sendable`
6 ...
7 LL | type Traitable = impl Trait<Assoc = Sendable>;
8    |                             ^^^^^^^^^^^^^^^^
9    |
10    = note: `#[warn(opaque_hidden_inferred_bound)]` on by default
11 help: add this bound
12    |
13 LL | type Sendable = impl Send + Duh;
14    |                           +++++
15
16 warning: 1 warning emitted
17