Matthias Krüger
f9fdd63cf4
Rollup merge of #132157 - estebank:long-types-3, r=jieyouxu
...
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`
```
*Ignore first three commits from https://github.com/rust-lang/rust/pull/132086 .*
2024-10-29 18:38:58 +01:00
..
2023-05-09 20:35:39 -04: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-09-29 21:56:57 +02:00
2023-10-08 20:17:53 -07:00
2024-01-13 12:46:58 -05:00
2024-10-22 07:37:54 +01:00
2024-10-22 07:37:54 +01:00
2024-02-16 20:02:50 +00:00
2024-01-12 11:02:57 +01:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-04-07 13:30:12 -04:00
2024-04-07 13:30:12 -04:00
2024-09-29 23:40:43 -05:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-08-27 17:32:35 +00:00
2024-08-27 17:32:35 +00:00
2024-08-27 17:32:35 +00:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-02-24 19:49:16 +00:00
2024-02-24 19:49:16 +00:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-10-11 20:38:43 +02:00
2024-10-11 20:38:43 +02:00
2024-10-11 20:38:43 +02:00
2024-10-11 20:38:43 +02:00
2024-10-11 20:38:43 +02:00
2024-10-11 20:38:43 +02:00
2024-01-13 12:46:58 -05:00
2023-05-05 21:44:48 +02:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2023-05-11 18:06:31 +04:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-04-06 11:21:47 -04:00
2024-04-06 11:21:47 -04:00
2024-10-04 09:09:20 +02:00
2024-10-04 09:09:20 +02:00
2023-08-18 19:57:28 +02:00
2024-01-13 12:46:58 -05:00
2023-12-23 00:52:42 +01:00
2024-01-13 12:46:58 -05:00
2024-05-04 11:30:38 +02:00
2024-05-04 11:30:38 +02:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-02-08 08:10:43 +00:00
2024-01-13 12:46:58 -05:00
2023-05-03 22:41:29 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-04-24 08:05:29 +00:00
2024-04-24 08:05:29 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-04-24 08:05:29 +00:00
2024-08-10 14:32:55 +03:00
2024-04-24 08:05:29 +00:00
2023-09-08 12:46:09 +01:00
2024-01-13 12:46:58 -05:00
2024-02-08 08:10:43 +00:00
2024-02-08 08:10:43 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-03-20 22:30:27 +01:00
2024-03-20 22:30:27 +01:00
2024-10-24 02:14:09 +08:00
2024-10-24 02:14:09 +08:00
2024-04-30 22:27:19 +02:00
2024-04-30 22:27:19 +02:00
2024-10-10 01:13:29 +02:00
2024-09-25 13:26:48 +02:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-08-10 12:07:17 +02:00
2024-08-10 12:07:17 +02:00
2023-06-19 12:54:34 +00:00
2024-01-13 12:46:58 -05:00
2024-07-24 21:03:27 +00:00
2024-01-13 12:46:58 -05:00
2024-04-03 16:03:22 -04:00
2024-04-03 16:03:22 -04:00
2024-04-03 16:03:22 -04:00
2024-04-03 16:03:22 -04:00
2024-04-03 16:03:22 -04:00
2024-04-03 16:03:22 -04:00
2023-12-20 18:16:28 +01:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-08-28 23:32:40 +01:00
2024-08-28 23:32:40 +01:00
2024-01-13 12:46:58 -05:00
2024-01-12 14:11:16 +03:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-02-29 14:10:29 +00:00
2024-02-29 14:10:29 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2023-12-12 20:13:37 +00:00
2024-02-16 20:02:50 +00:00
2024-03-18 16:08:58 +00:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-05-20 09:18:49 +02:00
2024-05-20 09:18:49 +02:00
2024-01-09 21:08:16 +00:00
2024-10-04 23:38:41 +00:00
2024-01-07 18:00:03 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-04-07 13:30:12 -04:00
2024-04-07 13:30:12 -04:00
2024-04-17 13:00:43 +02:00
2024-04-17 13:00:43 +02:00
2024-01-13 12:46:58 -05:00
2023-12-05 19:53:59 +00:00
2024-08-17 12:43:25 -04:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2023-11-30 08:26:13 -08:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-06-13 22:12:26 -03:00
2024-06-13 22:12:26 -03:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-02 13:49:47 +01:00
2024-01-02 13:49:48 +01:00
2024-07-26 16:35:05 +03:00
2024-07-26 16:35:05 +03:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-03-27 11:20:28 -04:00
2024-03-27 11:20:28 -04:00
2024-10-06 18:12:25 +02:00
2024-10-06 18:12:25 +02:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-07-05 00:52:01 +00:00
2023-05-02 22:36:24 +00:00
2023-11-24 19:15:52 +01:00
2024-01-09 17:00:24 +01:00
2024-01-15 21:24:13 +00:00
2024-02-01 20:01:05 +01:00
2024-02-01 20:01:05 +01:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2023-02-16 03:39:58 +00:00
2024-01-13 12:46:58 -05:00
2024-07-29 17:50:12 +01:00
2024-07-29 17:50:12 +01:00
2024-06-08 18:17:55 +02:00
2024-10-29 16:26:57 +00:00
2024-01-13 12:46:58 -05:00
2024-10-20 08:34:15 -06:00
2024-10-20 08:34:15 -06:00
2023-11-24 19:15:52 +01:00
2024-06-25 19:00:02 +02:00
2024-06-25 19:00:02 +02:00
2024-03-03 13:10:15 +01:00
2024-03-03 13:10:15 +01:00
2024-10-07 11:15:04 -07:00
2024-10-07 11:15:04 -07:00
2024-03-05 23:34:45 -05:00
2024-03-05 23:34:45 -05:00
2024-10-10 11:44:11 -07:00
2024-10-10 11:44:11 -07:00
2023-10-27 19:56:12 +02:00
2023-12-04 11:56:21 +01:00
2024-01-13 12:46:58 -05:00
2024-04-25 07:58:31 +02:00
2024-04-25 07:58:31 +02:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-09-09 19:39:43 -07:00
2024-08-06 11:17:26 +02:00
2024-06-28 14:20:43 -04:00
2024-06-28 14:20:43 -04:00
2024-06-28 14:20:43 -04:00
2024-01-13 12:46:58 -05:00
2023-11-24 19:15:52 +01:00
2024-03-22 13:30:48 -07:00
2024-03-22 13:30:48 -07:00
2024-01-13 12:46:58 -05:00
2024-09-22 10:00:24 +02:00
2024-09-22 10:00:24 +02:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-08-02 02:29:15 +05:30
2024-08-02 02:29:15 +05:30
2024-06-18 04:14:43 +08:00
2024-06-18 04:14:43 +08:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-01-13 12:46:58 -05:00
2023-10-23 13:04:47 -07:00
2024-06-24 16:08:51 +03:00
2024-01-13 12:46:58 -05:00
2024-04-11 16:39:06 +00:00
2024-04-22 16:28:20 +00:00
2024-10-21 15:22:17 +01:00
2024-10-21 15:22:17 +01:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-22 14:24:31 +00:00
2024-01-22 14:24:31 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05: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-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2023-05-01 16:15:13 +08:00
2024-01-13 12:46:58 -05:00
2024-05-30 22:52:33 +02:00
2024-07-06 23:29:58 +08:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-09-23 11:57:28 +02:00
2024-09-23 11:57:28 +02:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-09-27 00:45:02 +00:00
2024-09-27 00:45:02 +00:00
2024-01-13 12:46:58 -05:00
2024-07-17 11:01:29 +01:00
2024-09-29 23:40:43 -05:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-04-28 19:27:05 +01:00
2024-10-15 13:11:00 +02:00
2024-07-11 19:00:49 -07:00
2024-07-11 19:00:49 -07:00
2024-07-12 23:30:22 +05:30
2024-07-12 23:30:22 +05:30
2024-04-09 23:58:18 +02:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-02-08 08:10:43 +00:00
2024-02-08 08:10:43 +00:00
2024-01-29 17:43:07 +08:00
2024-01-29 17:43:07 +08:00
2024-08-22 14:22:23 -04:00
2024-08-22 14:22:23 -04:00
2024-02-16 20:02:50 +00:00
2024-06-24 17:12:08 +03:00
2024-02-16 20:02:50 +00:00
2023-10-05 01:04:41 +00:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-06-24 16:08:51 +03:00
2024-01-29 17:43:07 +08:00
2024-01-29 17:43:07 +08:00
2024-06-24 16:08:51 +03:00
2024-01-13 12:46:58 -05:00
2024-05-20 11:13:10 -04:00
2024-05-20 11:13:10 -04:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-02-16 20:02:50 +00:00
2024-01-13 12:46:58 -05:00
2024-05-20 19:55:59 -07:00
2024-05-20 19:55:59 -07:00
2024-02-16 20:02:50 +00:00
2023-04-21 15:34:38 +02:00
2024-01-13 12:46:58 -05:00
2023-11-24 19:15:52 +01:00
2024-10-12 10:19:24 +02:00
2024-10-25 20:31:40 +02:00
2024-07-30 14:08:02 +00:00