Jonathan Brouwer
8c5a762b23
Rollup merge of #163057 - estebank:required-bound-context, r=oli-obk
...
Use span context for enclosing item(s) of unmet bound
Point at item that introduced an unmet bound and in the case of associated items, their container (trait/impl), without using a span label. This adds bits of code to the diagnostic, without explicitly pointing to it.
```
error[E0277]: cannot add `<T as SubEncoder>::ActualSize` to `<T as SubEncoder>::ActualSize`
--> $DIR/issue-54108.rs:23:17
|
LL | type Size = <Self as SubEncoder>::ActualSize;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `<T as SubEncoder>::ActualSize + <T as SubEncoder>::ActualSize`
|
= help: the trait `Add` is not implemented for `<T as SubEncoder>::ActualSize`
note: required by a bound in `Encoder::Size`
--> $DIR/issue-54108.rs:8:16
|
LL | pub trait Encoder {
LL | type Size: Add<Output = Self::Size>;
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Encoder::Size`
```
r? @oli-obk
2026-09-21 15:19:26 +02:00
..
2026-08-24 14:22:36 +03:00
2026-09-20 17:36:00 +00:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-07-07 13:42:44 +03:00
2026-07-07 13:42:44 +03:00
2026-04-23 09:37:48 +03:00
2026-05-26 08:06:36 +03:00
2026-08-27 15:39:40 +03:00
2026-06-05 08:30:38 +03:00
2026-06-05 08:30:38 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-07-14 11:04:26 -03:00
2026-07-14 11:04:26 -03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-07-22 11:42:09 +02:00
2026-07-22 11:42:09 +02:00
2026-07-22 11:42:09 +02:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-07-15 11:46:40 +00:00
2026-07-24 12:58:31 +10:00
2026-07-15 11:46:40 +00:00
2026-07-15 11:46:40 +00:00
2026-07-15 11:46:40 +00:00
2026-07-24 01:59:23 -04:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-06-03 14:09:22 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-05-22 12:50:49 +03:00
2026-05-22 12:50:49 +03:00
2026-07-21 01:03:16 +03:00
2026-07-21 01:03:16 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-07-21 01:03:16 +03:00
2026-07-21 01:03:16 +03:00
2026-04-23 09:37:48 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-20 19:17:59 +00:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-20 19:17:59 +00:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-09-20 19:17:59 +00:00
2026-09-08 09:37:35 +03:00
2026-09-08 09:37:35 +03:00
2026-06-05 08:30:38 +03:00
2026-06-05 08:30:38 +03:00
2026-07-08 07:46:21 +02:00
2026-07-08 07:46:21 +02:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-07-13 22:03:34 +09:00
2026-07-13 22:03:34 +09:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-07-21 01:03:16 +03:00
2026-07-21 01:03:16 +03:00
2026-06-03 14:09:22 +03:00
2026-06-03 14:09:22 +03:00
2026-06-03 14:09:22 +03:00
2026-06-03 14:09:22 +03:00
2026-06-10 14:07:39 +03:00
2026-06-10 14:07:39 +03:00
2026-05-26 08:06:36 +03:00
2026-07-21 01:03:16 +03:00
2026-09-20 04:11:09 +00:00
2026-07-10 16:20:34 +00:00
2026-07-29 09:08:57 +00:00
2026-07-10 16:20:34 +00:00
2026-07-10 16:20:34 +00:00
2026-08-06 10:56:10 +00:00
2026-08-06 10:56:10 +00:00
2026-08-06 10:56:10 +00:00
2026-08-06 10:56:10 +00:00
2026-07-01 15:36:36 +03:00
2026-07-01 15:36:36 +03:00
2026-07-01 15:36:36 +03:00
2026-07-01 15:36:36 +03:00
2026-06-22 23:58:33 +03:00
2026-06-22 23:58:33 +03:00
2026-06-03 14:09:22 +03:00
2026-06-03 14:09:22 +03:00
2026-06-05 08:30:38 +03:00
2026-06-05 08:30:38 +03:00
2026-06-05 08:30:38 +03:00
2026-06-05 08:30:38 +03:00
2026-07-21 01:03:16 +03:00
2026-07-21 01:03:16 +03:00
2026-06-05 08:30:38 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-07-22 11:42:09 +02:00
2026-07-22 11:42:09 +02:00
2026-07-22 11:42:09 +02:00
2026-04-23 09:37:48 +03:00
2026-04-23 09:37:48 +03:00
2026-06-10 14:07:39 +03:00
2026-09-20 04:11:09 +00:00
2026-08-06 15:20:35 +03:00
2026-08-06 15:20:35 +03:00
2026-06-03 14:04:49 +03:00
2026-06-03 14:04:49 +03:00
2026-06-05 08:30:38 +03:00
2026-06-05 08:30:38 +03:00
2026-06-05 08:30:38 +03:00
2026-06-05 08:30:38 +03:00