Esteban Küber
65dd911de7
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`
```
2026-09-20 17:36:00 +00:00
..
2026-09-17 15:54:09 +10:00
2026-03-15 12:06:32 +01:00
2026-03-15 12:06:32 +01:00
2026-03-15 12:06:32 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-06-20 22:37:27 +02:00
2026-06-20 22:37:27 +02:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-08-05 17:56:19 +03:30
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-06-17 05:55:17 +02:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-06-03 19:33:57 +02:00
2026-06-03 19:33:57 +02:00
2026-03-28 16:18:11 +09:00
2026-03-28 16:18:11 +09:00
2026-03-28 16:18:11 +09:00
2026-03-28 16:18:11 +09:00
2026-03-27 21:19:40 +09:00
2026-03-27 21:19:40 +09:00
2026-03-27 21:19:40 +09:00
2026-01-05 15:35:01 +09:00
2026-06-17 05:55:17 +02:00
2026-06-07 19:00:21 +02:00
2026-06-07 19:00:21 +02:00
2026-06-18 05:28:05 +02:00
2026-06-18 05:28:05 +02:00
2026-06-11 06:31:12 +05:30
2026-02-13 16:41:47 +09:00
2026-09-20 17:36:00 +00:00
2026-08-24 19:04:00 +02:00
2026-08-24 19:04:00 +02:00
2026-03-04 08:06:45 +08:00
2026-02-18 18:33:35 +00:00
2026-09-11 11:11:57 -03:00
2026-01-21 12:53:46 +01:00
2026-01-21 12:53:46 +01:00
2026-01-21 12:53:46 +01:00
2026-01-21 12:53:46 +01:00
2026-09-17 15:54:09 +10:00
2026-09-17 15:54:09 +10:00
2026-03-04 08:06:45 +08:00
2026-06-19 16:50:52 +02:00
2026-06-19 16:50:52 +02:00
2026-05-02 10:58:43 +01:00
2026-06-19 16:50:52 +02:00
2026-06-19 16:50:52 +02:00
2026-03-14 20:13:43 +00:00
2026-03-14 20:13:43 +00:00
2026-03-21 20:10:07 +00:00
2026-03-21 20:10:07 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-03-15 12:39:39 -04:00
2026-03-15 12:39:39 -04:00
2026-08-15 22:15:20 +07:00
2026-08-15 22:15:20 +07:00
2026-05-02 10:58:43 +01:00
2026-07-27 23:54:39 +03:30
2026-07-27 23:54:39 +03:30
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-06-04 16:10:12 +00:00
2026-03-27 21:19:40 +09:00
2026-03-27 21:19:40 +09:00
2026-03-27 21:19:40 +09:00
2026-08-13 14:12:34 +02:00
2026-07-28 11:48:45 +10:00
2026-08-13 14:12:34 +02:00
2026-02-18 18:33:35 +00:00
2026-02-01 18:20:31 +00:00
2026-05-09 17:50:35 +12:00
2026-03-14 20:13:43 +00:00
2026-02-01 18:20:30 +00:00
2026-08-29 05:51:58 +00:00
2026-09-20 17:36:00 +00:00
2026-03-28 16:18:11 +09:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-03-02 18:11:13 -08:00
2026-08-13 11:44:34 +08:00
2026-08-13 11:44:34 +08:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-03-29 18:25:55 +00:00
2026-03-29 18:25:55 +00:00
2026-03-29 18:25:55 +00:00
2026-03-29 18:25:55 +00:00
2026-08-19 11:50:26 +02:00
2026-09-20 17:36:00 +00:00
2026-08-19 11:50:26 +02:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-04-10 12:13:48 +02:00
2026-07-20 04:51:11 +00:00
2026-07-20 04:51:11 +00:00
2026-07-20 04:51:11 +00:00
2026-07-20 04:51:11 +00:00
2026-07-20 04:51:11 +00:00
2026-05-02 08:45:06 +01:00
2026-07-29 16:29:48 +03:30
2026-07-29 16:29:48 +03:30
2026-06-27 14:36:16 +02:00
2026-08-05 11:07:35 +02:00
2026-01-26 10:24:15 +00:00
2026-06-28 03:56:28 -05:00
2026-06-28 03:48:49 -05:00
2026-06-17 05:55:17 +02:00
2026-07-30 19:13:30 +03:30
2026-07-13 10:54:53 +02:00
2026-02-13 14:44:40 +00:00
2026-02-13 14:44:40 +00:00
2026-02-13 14:44:40 +00:00
2026-02-13 14:44:40 +00:00
2026-02-14 21:32:57 +00:00
2026-02-14 21:32:57 +00:00
2026-02-18 19:14:26 +09:00
2026-02-18 19:14:26 +09:00
2026-09-20 17:36:00 +00:00
2026-09-20 17:36:00 +00:00
2026-06-27 14:36:16 +02:00
2026-05-02 08:45:06 +01:00
2026-06-20 22:37:27 +02:00
2026-06-20 22:37:27 +02:00
2026-06-27 04:49:49 +02:00
2026-06-27 04:49:49 +02:00
2026-06-17 05:55:17 +02:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-07-05 21:27:38 +02:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00
2026-05-13 01:26:32 +05:30
2026-01-08 16:07:18 -05:00
2026-01-08 16:07:18 -05:00
2026-02-13 16:41:47 +09:00
2026-02-13 16:41:47 +09:00
2026-02-17 16:48:57 +09:00
2026-05-02 21:07:23 +08:00
2026-06-17 05:55:17 +02:00
2026-07-21 01:03:16 +03:00
2026-07-21 01:03:16 +03:00
2026-07-21 01:03:16 +03:00
2026-09-11 17:08:12 +02:00
2026-09-11 17:08:12 +02:00
2026-07-07 23:44:36 +02:00
2026-07-07 23:44:36 +02:00
2026-05-09 17:50:35 +12:00
2026-07-03 23:53:11 +02:00
2026-07-03 23:53:11 +02:00
2026-05-02 10:58:43 +01:00
2026-05-02 10:58:43 +01:00