rust/tests/ui/extern
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
extern_fat_drop.rs
extern-1.rs
extern-C-non-FFI-safe-arg-ice-52334.rs
extern-C-non-FFI-safe-arg-ice-52334.stderr
extern-C-str-arg-ice-80125.rs
extern-C-str-arg-ice-80125.stderr
extern-calling-convention-test.rs
extern-compare-with-return-type.rs
extern-const.fixed
extern-const.rs
extern-const.stderr
extern-crate-multiple-missing.rs
extern-crate-multiple-missing.stderr
extern-crate-rename.rs
extern-crate-rename.stderr
extern-crate-visibility.rs
extern-crate-visibility.stderr
extern-ffi-fn-with-body.rs
extern-ffi-fn-with-body.stderr
extern-foreign-crate.rs
extern-macro.rs
extern-macro.stderr
extern-main-fn.rs
extern-main-fn.stderr
extern-main-issue-86110.rs
extern-main-issue-86110.stderr
extern-methods.rs
extern-mod-abi.rs
extern-mod-ordering-exe.rs
extern-no-mangle.rs
extern-no-mangle.stderr
extern-prelude-core.rs
extern-prelude-no-speculative.rs
extern-prelude-std.rs
extern-pub.rs
extern-rust.rs
extern-static-size-overflow.rs Keep object-size-dependent tests failing 2024-09-19 16:23:38 -07:00
extern-static-size-overflow.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
extern-take-value.rs
extern-thiscall.rs
extern-type-diag-not-similar.rs
extern-type-diag-not-similar.stderr
extern-types-distinct-types.rs
extern-types-distinct-types.stderr
extern-types-field-offset.rs
extern-types-field-offset.run.stderr
extern-types-inherent-impl.rs
extern-types-manual-sync-send.rs
extern-types-not-sync-send.rs
extern-types-not-sync-send.stderr
extern-types-pointer-cast.rs
extern-types-size_of_val.align.run.stderr
extern-types-size_of_val.rs
extern-types-size_of_val.size.run.stderr
extern-types-thin-pointer.rs
extern-types-trait-impl.rs
extern-types-unsized.rs
extern-types-unsized.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
extern-vectorcall.rs
extern-with-type-bounds.rs
extern-with-type-bounds.stderr
extern-wrong-value-type.rs
extern-wrong-value-type.stderr
issue-1251.rs
issue-10025.rs
issue-10763.rs
issue-10764-rpass.rs
issue-13655.rs
issue-16250.rs
issue-16250.stderr
issue-18576.rs
issue-18819.rs
issue-18819.stderr
issue-28324.rs
issue-28324.stderr
issue-36122-accessing-externed-dst.rs
issue-36122-accessing-externed-dst.stderr
issue-47725.rs
issue-47725.stderr
issue-64655-allow-unwind-when-calling-panic-directly.rs
issue-64655-extern-rust-must-allow-unwind.rs
issue-80074.rs
issue-80074.stderr
issue-95829.rs Note what qualifier 2024-10-11 11:30:08 -04:00
issue-95829.stderr Note what qualifier 2024-10-11 11:30:08 -04:00
issue-112363-extern-item-where-clauses-debug-ice.rs
issue-112363-extern-item-where-clauses-debug-ice.stderr
issue-116203.rs
issue-116203.stderr
no-mangle-associated-fn.rs
no-mangle-associated-fn.stderr
not-in-block.rs
not-in-block.stderr