rust/tests/ui/fmt
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
fmt_debug fmt-debug option 2024-08-28 23:32:40 +01:00
closing-brace-as-fill.rs Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
closing-brace-as-fill.stderr Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
format-args-argument-span.rs
format-args-argument-span.stderr
format-args-capture-first-literal-is-macro.rs
format-args-capture-first-literal-is-macro.stderr
format-args-capture-from-pm-first-arg-macro.rs
format-args-capture-from-pm-first-arg-macro.stderr
format-args-capture-issue-93378.rs
format-args-capture-issue-93378.stderr
format-args-capture-issue-94010.rs
format-args-capture-issue-94010.stderr
format-args-capture-issue-102057.rs
format-args-capture-issue-102057.stderr
format-args-capture-issue-106408.rs
format-args-capture-macro-hygiene-pass.rs
format-args-capture-macro-hygiene.rs
format-args-capture-macro-hygiene.stderr
format-args-capture-missing-variables.rs
format-args-capture-missing-variables.stderr
format-args-capture.rs
format-args-non-identifier-diagnostics.fixed
format-args-non-identifier-diagnostics.rs
format-args-non-identifier-diagnostics.stderr
format-expanded-string.rs
format-expanded-string.stderr
format-raw-string-error.rs
format-raw-string-error.stderr
format-string-error-2.rs Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
format-string-error-2.stderr Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
format-string-error.rs Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
format-string-error.stderr Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
format-string-wrong-order.rs Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
format-string-wrong-order.stderr Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
format-with-yield-point.rs
ifmt-bad-arg.rs Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
ifmt-bad-arg.stderr Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
ifmt-bad-format-args.rs
ifmt-bad-format-args.stderr
ifmt-unimpl.rs
ifmt-unimpl.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
ifmt-unknown-trait.rs
ifmt-unknown-trait.stderr
incorrect-separator.rs
incorrect-separator.stderr
indoc-issue-106408.rs
issue-23781.rs
issue-75307.rs
issue-75307.stderr
issue-86085.rs
issue-86085.stderr
issue-89173.rs
issue-89173.stderr
issue-91556.rs Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
issue-91556.stderr Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
issue-103826.rs
issue-103826.stderr
issue-104142.rs
issue-104142.stderr
nested-awaits-issue-122674.rs
no-inline-literals-out-of-range.rs
no-inline-literals-out-of-range.stderr
raw-idents.rs
raw-idents.stderr
respanned-literal-issue-106191.rs Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
respanned-literal-issue-106191.stderr Remove 'apostrophes' from rustc_parse_format 2024-10-14 23:22:51 +02:00
send-sync.rs
send-sync.stderr
struct-field-as-captured-argument.fixed
struct-field-as-captured-argument.rs
struct-field-as-captured-argument.stderr
suggest-inline-args.rs
suggest-inline-args.stderr
unicode-escape-spans.rs
unicode-escape-spans.stderr