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-09-12 09:07:44 -04:00
2023-11-24 19:15:52 +01:00
2024-09-12 13:56:01 -04: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-06-25 10:00:30 +08: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
2023-11-24 19:15:52 +01:00
2024-10-29 16:26:57 +00:00
2023-11-20 23:37:04 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-08-16 20:53:13 +01:00
2024-08-16 20:53:13 +01:00
2024-02-13 14:56:20 +00:00
2024-07-14 13:50:09 +09:00
2024-01-26 20:47:19 +00:00
2024-07-12 03:02:57 +00:00
2023-11-24 19:15:52 +01:00
2024-05-30 22:52:33 +02:00
2024-05-30 22:52:33 +02:00
2024-09-12 09:07:44 -04:00
2024-09-12 09:07:44 -04:00
2024-03-14 19:39:15 +00:00
2024-03-14 19:39:15 +00:00
2024-04-27 09:36:38 +05:30
2024-09-29 23:40:43 -05:00
2024-07-07 15:44:55 +05:30
2024-07-07 15:44:55 +05:30
2024-03-01 10:18:54 +11:00
2024-03-01 10:18:54 +11: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
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-03-07 06:27:09 +00:00
2024-03-07 06:27:09 +00:00
2024-03-16 23:20:42 +00:00
2024-02-09 15:43:08 -03:00
2024-02-09 15:43:08 -03: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-04-27 10:54:31 +03:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-08-10 00:54:16 +00:00
2024-02-16 20:02:50 +00:00
2024-02-22 18:05:27 +00:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-16 17:00:23 +00:00
2024-07-04 05:50:21 +00:00
2024-07-04 06:06:33 +00:00
2024-02-16 20:02:50 +00: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
2023-11-16 17:00:23 +00:00
2023-11-16 17:00:23 +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-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-01-09 21:08:16 +00:00
2024-07-12 03:02:57 +00:00
2024-02-16 20:02:50 +00:00
2024-09-22 13:55:06 -04:00
2024-02-16 20:02:50 +00:00
2024-08-28 12:54:39 +08:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-05-30 22:52:33 +02:00
2024-05-30 22:52:33 +02:00
2023-11-24 19:15:52 +01:00
2024-05-30 22:52:33 +02:00
2024-05-30 22:52:33 +02: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
2023-11-24 19:15:52 +01:00
2023-11-29 18:11:57 +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-02-16 20:02:50 +00: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-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +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-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
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00: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-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-05-30 22:52:33 +02:00
2024-05-30 22:52:33 +02:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-07-04 05:50:21 +00:00
2024-02-16 20:02:50 +00:00
2024-07-18 20:08:38 +00: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
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-16 17:00:23 +00:00
2023-11-24 19:15:52 +01:00
2024-04-30 12:46:59 +05:30
2024-04-30 12:46:59 +05:30
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-04-30 12:46:59 +05:30
2024-04-30 12:46:59 +05:30
2024-10-15 20:42:17 -04:00
2024-02-16 20:02:50 +00:00
2024-02-10 23:13:47 +01:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-01-13 12:46:58 -05: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
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-01-09 21:08:16 +00:00
2023-12-22 11:01:07 -08:00
2024-04-10 19:37:48 +00:00
2024-04-10 19:37:48 +00: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
2023-11-20 15:14:08 +05:30
2023-11-20 15:14:08 +05:30
2024-02-18 11:19:24 +03:00
2024-02-18 11:19:24 +03:00
2024-02-16 20:02:50 +00:00
2024-02-10 09:14:59 +11:00
2024-02-10 09:14:59 +11:00
2024-03-03 00:42:03 +01:00
2024-03-03 00:42:03 +01:00
2024-07-05 20:58:33 +00:00
2023-11-29 18:11:57 +00: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
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00: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-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-07-05 20:38:21 +00:00
2024-04-10 19:37:48 +00:00
2024-04-10 19:37:48 +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-14 13:50:09 +09:00
2024-04-09 14:06:08 -04:00
2024-04-09 14:06:08 -04:00
2023-11-24 19:15:52 +01:00
2024-04-10 18:58:15 -04:00
2024-04-10 18:58:15 -04:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-23 08:35:18 +11:00
2024-02-23 08:35:18 +11:00
2024-07-14 13:50:09 +09:00
2024-07-11 00:18:47 +08:00
2024-07-11 00:18:47 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-08-09 05:03:55 +00:00
2024-08-09 05:03:55 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-01-23 04:42:26 +00:00
2024-06-12 20:57:24 -04:00
2024-10-29 16:26:57 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-03-07 14:26:31 +00:00
2024-02-16 20:02:50 +00:00
2024-01-09 21:08:16 +00:00
2024-03-07 13:37:06 +00:00
2024-10-04 23:38:41 +00:00
2024-10-26 11:35:56 +08:00
2024-07-22 22:51:53 +00:00
2024-07-22 22:51:53 +00:00
2024-01-09 21:08:16 +00:00
2024-07-22 22:51:53 +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-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-02-19 17:41:48 -03:00
2024-09-26 17:17:11 +00:00
2023-11-24 19:15:52 +01:00
2024-10-29 16:26:57 +00:00
2023-11-24 19:15:52 +01: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-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +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
2023-11-24 19:15:52 +01:00