mirror of https://github.com/rust-lang/rust
18 lines
586 B
Plaintext
18 lines
586 B
Plaintext
warning: opaque type `Traitable` does not satisfy its associated type bounds
|
|
--> $DIR/nested-return-type2-tait3.rs:20:29
|
|
|
|
|
LL | type Assoc: Duh;
|
|
| --- this associated type bound is unsatisfied for `impl Send`
|
|
...
|
|
LL | type Traitable = impl Trait<Assoc = impl Send>;
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(opaque_hidden_inferred_bound)]` on by default
|
|
help: add this bound
|
|
|
|
|
LL | type Traitable = impl Trait<Assoc = impl Send + Duh>;
|
|
| +++++
|
|
|
|
warning: 1 warning emitted
|
|
|