]> git.proxmox.com Git - rustc.git/blame - src/test/ui/impl-trait/nested-return-type3-tait3.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / impl-trait / nested-return-type3-tait3.stderr
CommitLineData
2b03887a
FG
1warning: opaque type `Traitable` does not satisfy its associated type bounds
2 --> $DIR/nested-return-type3-tait3.rs:17:29
3 |
4LL | type Assoc: Duh;
5 | --- this associated type bound is unsatisfied for `impl Send`
6...
7LL | type Traitable = impl Trait<Assoc = impl Send>;
8 | ^^^^^^^^^^^^^^^^^
9 |
10 = note: `#[warn(opaque_hidden_inferred_bound)]` on by default
11help: add this bound
12 |
13LL | type Traitable = impl Trait<Assoc = impl Send + Duh>;
14 | +++++
15
16warning: 1 warning emitted
17