rust/tests/ui/kindck
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
..
kindck-copy.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
kindck-copy.stderr Account for type params 2023-01-11 21:38:56 +00:00
kindck-impl-type-params-2.rs Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
kindck-impl-type-params-2.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
kindck-impl-type-params.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
kindck-impl-type-params.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
kindck-inherited-copy-bound.curr.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
kindck-inherited-copy-bound.dyn_compatible_for_dispatch.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
kindck-inherited-copy-bound.rs Rename feature object_safe_for_dispatch to dyn_compatible_for_dispatch 2024-10-10 00:57:59 +02:00
kindck-nonsendable-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
kindck-nonsendable-1.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
kindck-send-object1.rs Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
kindck-send-object1.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
kindck-send-object2.rs Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
kindck-send-object2.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
kindck-send-object.rs Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
kindck-send-object.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
kindck-send-owned.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
kindck-send-owned.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
kindck-send-unsafe.rs tidy check to find misc files in ui tests, and clean up the results 2023-05-09 20:35:39 -04:00
kindck-send-unsafe.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00