Files
rust/tests/ui/error-codes
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-15 09:51:32 +02:00
2024-09-15 09:51:32 +02:00
2023-04-03 15:59:21 +00:00
2024-04-14 09:42:53 -04:00
2023-01-30 20:12:19 +00:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-07-22 22:04:49 +00:00
2024-06-21 19:00:18 -04:00
2024-01-05 09:30:27 +00:00
2024-01-05 10:00:59 +00:00
2023-12-15 16:12:27 +00:00
2023-03-08 00:00:18 +00:00
2024-01-11 09:03:26 +00:00
2024-05-20 11:13:10 -04:00
2024-05-20 11:13:10 -04:00
2023-12-15 16:12:27 +00:00
2023-10-20 21:10:38 +00:00
2024-06-21 19:00:18 -04:00
2023-01-18 13:14:56 +13:00
2023-11-16 17:00:23 +00:00
2023-12-20 22:53:56 -05:00
2024-03-20 17:29:58 +00:00
2024-01-13 12:46:58 -05:00