mirror of https://github.com/rust-lang/rust
14 lines
439 B
Plaintext
14 lines
439 B
Plaintext
warning: opaque type `Foo` does not satisfy its associated type bounds
|
|
--> $DIR/tait-in-function-return-type-issue-101903.rs:22:23
|
|
|
|
|
LL | type Assoc: Duh;
|
|
| --- this associated type bound is unsatisfied for `Sendable`
|
|
...
|
|
LL | type Foo = impl Trait<Assoc = Sendable>;
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(opaque_hidden_inferred_bound)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|