rust/tests/ui/async-await/issues
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
..
auxiliary
issue-65419
issue-51719.rs
issue-51719.stderr
issue-51751.rs
issue-51751.stderr
issue-53249.rs
issue-54752-async-block.rs
issue-54752-async-block.stderr
issue-54974.rs
issue-55324.rs
issue-55809.rs
issue-58885.rs
issue-59001.rs
issue-59972.rs
issue-60518.rs
issue-60655-latebound-regions.rs
issue-60674.rs
issue-60674.stdout
issue-61187.rs
issue-61187.stderr
issue-61986.rs
issue-62009-1.rs
issue-62009-1.stderr
issue-62009-2.rs
issue-62009-2.stderr
issue-62097.rs
issue-62097.stderr
issue-62517-1.rs
issue-62517-2.rs
issue-63388-1.rs
issue-63388-1.stderr
issue-63388-2.rs
issue-63388-2.stderr
issue-63388-3.rs
issue-63388-4.rs
issue-64391-2.rs
issue-64433.rs
issue-64477-2.rs
issue-64477.rs
issue-64964.rs
issue-65159.rs
issue-65159.stderr
issue-65436-raw-ptr-not-send.rs
issue-66695-static-refs.rs
issue-66958-non-copy-infered-type-arg.rs
issue-66958-non-copy-infered-type-arg.stderr
issue-67611-static-mut-refs.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
issue-67893.rs
issue-67893.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-69307-nested.rs
issue-69307.rs
issue-72312.rs
issue-72312.stderr
issue-78600.rs
issue-78654.full.stderr
issue-78654.min.stderr
issue-78654.rs
issue-78938-async-block.rs
issue-78938-async-block.stderr
issue-95307.rs
issue-95307.stderr
issue-102206.rs
issue-102206.stderr
issue-107280.rs
issue-107280.stderr
issue-112225-1.rs
issue-112225-2.rs
issue-112225-2.stderr
non-async-enclosing-span.rs
non-async-enclosing-span.stderr