Esteban Küber
5b54286640
Remove detail from label/note that is already available in other note
...
Remove the "which is required by `{root_obligation}`" post-script in
"the trait `X` is not implemented for `Y`" explanation in E0277. This
information is already conveyed in the notes explaining requirements,
making it redundant while making the text (particularly in labels)
harder to read.
```
error[E0277]: the trait bound `NotCopy: Copy` is not satisfied
--> $DIR/wf-static-type.rs:10:13
|
LL | static FOO: IsCopy<Option<NotCopy>> = IsCopy { t: None };
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `NotCopy`
|
= note: required for `Option<NotCopy>` to implement `Copy`
note: required by a bound in `IsCopy`
--> $DIR/wf-static-type.rs:7:17
|
LL | struct IsCopy<T:Copy> { t: T }
| ^^^^ required by this bound in `IsCopy`
```
vs the prior
```
error[E0277]: the trait bound `NotCopy: Copy` is not satisfied
--> $DIR/wf-static-type.rs:10:13
|
LL | static FOO: IsCopy<Option<NotCopy>> = IsCopy { t: None };
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `NotCopy`, which is required by `Option<NotCopy>: Copy`
|
= note: required for `Option<NotCopy>` to implement `Copy`
note: required by a bound in `IsCopy`
--> $DIR/wf-static-type.rs:7:17
|
LL | struct IsCopy<T:Copy> { t: T }
| ^^^^ required by this bound in `IsCopy`
```
2024-10-29 16:26:57 +00:00
..
2024-03-21 00:03:59 +00:00
2024-03-11 19:42:04 +00:00
2024-07-22 22:51:53 +00:00
2024-02-16 20:02:50 +00:00
2024-03-21 00:03:59 +00:00
2024-03-21 00:03:59 +00:00
2024-03-21 00:03:59 +00:00
2024-03-21 00:03:59 +00:00
2024-02-16 20:02:50 +00:00
2024-03-21 00:03:59 +00:00
2024-07-02 17:07:21 +01:00
2024-07-02 17:07:21 +01:00
2024-03-21 00:03:59 +00:00
2024-09-29 23:40:43 -05:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-08-03 07:57:31 -04:00
2024-04-21 22:00:38 +02:00
2024-04-21 22:00:38 +02:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-04-24 13:12:33 +01:00
2024-04-24 13:12:33 +01:00
2024-03-24 10:09:56 +01:00
2024-03-24 10:09:56 +01:00
2024-02-16 20:02:50 +00:00
2024-03-21 00:03:59 +00:00
2024-02-16 20:02:50 +00:00
2023-11-30 20:59:51 +01:00
2024-03-21 00:03:59 +00:00
2024-02-16 20:02:50 +00:00
2024-09-22 13:54:16 -04:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-05-24 13:16:06 -04:00
2024-05-24 13:16:06 -04:00
2024-02-16 20:02:50 +00:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-02-16 20:02:50 +00:00
2024-06-05 22:25:42 +01:00
2024-09-29 23:40:43 -05:00
2024-06-05 22:25:42 +01:00
2024-06-05 22:25:42 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-10-11 17:36:04 +02:00
2024-10-11 17:36:04 +02:00
2024-03-24 09:34:11 +01:00
2024-04-28 10:23:10 +02:00
2023-11-30 20:59:51 +01:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-03-22 11:35:31 +01:00
2024-03-22 11:35:31 +01:00
2024-07-29 14:26:21 -04:00
2024-07-29 14:26:21 -04:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-04-24 13:12:33 +01:00
2024-06-19 14:58:29 +00:00
2024-06-19 14:58:29 +00:00
2024-06-19 04:41:56 +00:00
2023-11-30 20:59:51 +01:00
2024-02-16 20:02:50 +00:00
2023-11-30 20:59:51 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2023-11-30 20:59:51 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-07-11 12:23:44 +10:00
2024-08-05 22:42:34 +02:00
2024-02-16 20:02:50 +00:00
2024-03-21 00:03:59 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-10-29 16:26:57 +00:00
2024-02-16 20:02:50 +00:00
2024-07-17 11:01:29 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-07-17 11:01:29 +01:00
2024-02-16 20:02:50 +00:00
2024-01-09 21:08:16 +00:00
2024-09-25 13:26:48 +02:00
2024-01-09 21:08:16 +00:00
2024-01-09 21:08:16 +00:00
2024-08-01 18:53:42 +00:00
2024-09-20 20:24:22 -04:00
2024-09-20 20:24:22 -04:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-03-21 00:03:59 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-08-05 17:37:12 -07:00
2024-08-05 17:37:12 -07:00
2024-07-20 19:45:24 -04:00
2024-07-20 19:45:24 -04:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-01-24 02:53:15 +00:00
2024-09-20 20:24:22 -04:00
2024-09-20 20:24:22 -04:00
2024-03-23 12:32:32 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-09-12 13:56:01 -04:00
2024-09-12 13:56:01 -04:00
2024-07-23 01:26:26 +02:00
2024-07-23 01:26:26 +02:00
2024-10-15 13:11:00 +02:00
2024-10-15 13:11:00 +02:00
2024-06-30 17:08:45 +00:00
2024-10-26 11:35:56 +08:00
2024-10-15 13:11:00 +02:00
2024-10-15 13:11:00 +02:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00