summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/nested-return-type3-tait2.stderr
blob: a2eddd116653c081270984e2ec54d27e68b258e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
warning: opaque type `Traitable` does not satisfy its associated type bounds
  --> $DIR/nested-return-type3-tait2.rs:18:29
   |
LL |     type Assoc: Duh;
   |                 --- this associated type bound is unsatisfied for `Sendable`
...
LL | type Traitable = impl Trait<Assoc = Sendable>;
   |                             ^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(opaque_hidden_inferred_bound)]` on by default

warning: 1 warning emitted