rust/tests/ui/associated-types
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
cache [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associate-type-bound-normalization.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-item-long-paths.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-type-destructuring-assignment.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-type-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-type-macro.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-type-projection-ambig-between-bound-and-where-clause.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
associated-type-projection-ambig-between-bound-and-where-clause.stderr Unify suggestion wording 2023-10-17 17:33:55 +00:00
associated-type-projection-from-multiple-supertraits.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
associated-type-projection-from-multiple-supertraits.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
associated-type-projection-from-supertrait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-type-projection-from-supertrait.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
associated-type-shadowed-from-non-local-supertrait.rs Point out shadowed associated types 2023-12-06 11:05:22 +01:00
associated-type-shadowed-from-non-local-supertrait.stderr Point out shadowed associated types 2023-12-06 11:05:22 +01:00
associated-type-shadowed-from-supertrait.rs Point out shadowed associated types 2023-12-06 11:05:22 +01:00
associated-type-shadowed-from-supertrait.stderr Point out shadowed associated types 2023-12-06 11:05:22 +01:00
associated-type-struct-construction.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-type-tuple-struct-construction.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-type-tuple-struct-construction.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-basic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-binding-in-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-binding-in-where-clause.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-binding-to-type-defined-in-supertrait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-binding-to-type-defined-in-supertrait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-bound-ambiguity.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-bound-failure.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-bound-failure.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-bound-failure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-types-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-cc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-coherence-failure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-coherence-failure.stderr stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02:00
associated-types-conditional-dispatch.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-constant-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-doubleendediterator-object.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-duplicate-binding-in-env-hrtb.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-duplicate-binding-in-env.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-enum-field-named.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-enum-field-numbered.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-eq-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-eq-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-types-eq-2.rs Update Tests 2024-06-05 20:08:00 -04:00
associated-types-eq-2.stderr Fix associated item removal suggestion 2024-07-17 21:30:40 +00:00
associated-types-eq-3.rs Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
associated-types-eq-3.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
associated-types-eq-expr-path.rs Automatically taint when reporting errors from ItemCtxt 2024-07-09 07:44:17 +00:00
associated-types-eq-expr-path.stderr Automatically taint when reporting errors from ItemCtxt 2024-07-09 07:44:17 +00:00
associated-types-eq-hr.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
associated-types-eq-hr.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
associated-types-eq-obj.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-for-unimpl-trait.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-for-unimpl-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-for-unimpl-trait.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
associated-types-from-supertrait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-ICE-when-projecting-out-of-err.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-ICE-when-projecting-out-of-err.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-types-impl-redirect.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-in-ambiguous-context.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-in-ambiguous-context.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
associated-types-in-bound-type-arg.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-in-default-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-in-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-in-impl-generics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-in-inherent-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-incomplete-object.rs Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
associated-types-incomplete-object.stderr Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
associated-types-invalid-trait-ref-issue-18865.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-invalid-trait-ref-issue-18865.stderr Remove invalid further restricting for type bound 2024-07-17 19:08:37 +08:00
associated-types-issue-17359.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-issue-17359.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-types-issue-20220.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-issue-20220.stderr Update tests 2024-02-07 10:42:01 +08:00
associated-types-issue-20346.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-issue-20346.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-types-issue-20371.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-issue-21212.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-iterator-binding.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-multiple-types-one-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-multiple-types-one-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-nested-projections.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-nested-projections.stderr Update tests 2024-02-07 10:42:01 +08:00
associated-types-no-suitable-bound.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
associated-types-no-suitable-bound.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
associated-types-no-suitable-supertrait-2.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
associated-types-no-suitable-supertrait-2.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
associated-types-no-suitable-supertrait.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
associated-types-no-suitable-supertrait.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
associated-types-normalize-in-bounds-binding.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-normalize-in-bounds-ufcs.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-normalize-in-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-normalize-unifield-struct.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-outlives.rs When possible, suggest cloning the result of a call instead of an argument 2024-04-11 16:41:41 +00:00
associated-types-outlives.stderr Peel off explicit (or implicit) deref before suggesting clone on move error in borrowck 2024-07-26 14:41:56 -04:00
associated-types-overridden-binding-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-overridden-binding-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-types-overridden-binding.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-overridden-binding.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-overridden-default.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-path-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-path-1.stderr Unify suggestion wording 2023-10-17 17:33:55 +00:00
associated-types-path-2.rs Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
associated-types-path-2.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
associated-types-project-from-hrtb-in-fn-body.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-project-from-hrtb-in-fn-body.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-project-from-hrtb-in-fn.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-project-from-hrtb-in-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-project-from-hrtb-in-fn.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-types-project-from-hrtb-in-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-project-from-hrtb-in-struct.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-project-from-hrtb-in-trait-method.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-project-from-hrtb-in-trait-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-project-from-hrtb-in-trait-method.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-project-from-type-param-via-bound-in-where.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-projection-bound-ambiguity.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-projection-bound-in-supertraits.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-projection-from-known-type-in-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-projection-from-known-type-in-impl.stderr Update tests 2024-02-07 10:42:01 +08:00
associated-types-projection-in-object-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-projection-in-supertrait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-projection-in-where-clause.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-projection-to-unrelated-trait-in-method-without-default.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-projection-to-unrelated-trait-in-method-without-default.rs
associated-types-projection-to-unrelated-trait-in-method-without-default.stderr Update tests 2024-02-07 10:42:01 +08:00
associated-types-projection-to-unrelated-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-qualified-path-with-trait-with-type-parameters.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-ref-from-struct.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-ref-in-struct-literal.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-region-erasure-issue-20582.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-resolve-lifetime.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-return.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-simple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-stream.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-struct-field-named.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-struct-field-numbered.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-subtyping-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-subtyping-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-sugar-path.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-unconstrained.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-types-unconstrained.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
associated-types-unsized.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-unsized.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-types-unsized.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-types-where-clause-impl-ambiguity.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bound-lifetime-constrained.clause.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bound-lifetime-constrained.func.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bound-lifetime-constrained.object.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bound-lifetime-constrained.ok.stderr Fix test problems discovered by the revision check 2024-05-09 14:47:09 +10:00
bound-lifetime-constrained.rs Fix test problems discovered by the revision check 2024-05-09 14:47:09 +10:00
bound-lifetime-in-binding-only.angle.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bound-lifetime-in-binding-only.elision.stderr Rollup merge of #117914 - estebank:issue-85843, r=wesleywiser 2023-12-12 17:40:53 +01:00
bound-lifetime-in-binding-only.ok.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bound-lifetime-in-binding-only.paren.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bound-lifetime-in-binding-only.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bound-lifetime-in-return-only.elision.stderr Rollup merge of #117914 - estebank:issue-85843, r=wesleywiser 2023-12-12 17:40:53 +01:00
bound-lifetime-in-return-only.local.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bound-lifetime-in-return-only.ok.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bound-lifetime-in-return-only.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bound-lifetime-in-return-only.sig.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bound-lifetime-in-return-only.structure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
default-associated-types.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
defaults-cyclic-fail-1.rs Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics 2024-01-02 14:17:56 +00:00
defaults-cyclic-fail-1.stderr Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics 2024-01-02 14:17:56 +00:00
defaults-cyclic-fail-2.rs Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics 2024-01-02 14:17:56 +00:00
defaults-cyclic-fail-2.stderr Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics 2024-01-02 14:17:56 +00:00
defaults-cyclic-pass-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
defaults-cyclic-pass-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
defaults-in-other-trait-items-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
defaults-in-other-trait-items.rs Use can_eq to compare types for default assoc type error 2023-01-25 21:25:42 +01:00
defaults-in-other-trait-items.stderr Use can_eq to compare types for default assoc type error 2023-01-25 21:25:42 +01:00
defaults-mixed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
defaults-mixed.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
defaults-specialization.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
defaults-specialization.stderr Use verbose suggestion for changing arg type 2024-07-05 20:58:33 +00:00
defaults-suitability.current.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
defaults-suitability.next.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
defaults-suitability.rs Add a bunch of tests 2024-05-30 15:52:29 -04:00
defaults-unsound-62211-1.current.stderr Fold item bound before checking that they hold 2024-05-30 15:52:29 -04:00
defaults-unsound-62211-1.next.stderr Check that alias-relate terms are WF if reporting an error in alias-relate 2024-06-13 08:52:35 -04:00
defaults-unsound-62211-1.rs Check that alias-relate terms are WF if reporting an error in alias-relate 2024-06-13 08:52:35 -04:00
defaults-unsound-62211-2.current.stderr Fold item bound before checking that they hold 2024-05-30 15:52:29 -04:00
defaults-unsound-62211-2.next.stderr Check that alias-relate terms are WF if reporting an error in alias-relate 2024-06-13 08:52:35 -04:00
defaults-unsound-62211-2.rs Check that alias-relate terms are WF if reporting an error in alias-relate 2024-06-13 08:52:35 -04:00
defaults-wf.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
defaults-wf.stderr On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
dont-suggest-cyclic-constraint.rs Revert PR #114052 to fix invalid suggestion 2023-08-17 14:33:33 +02:00
dont-suggest-cyclic-constraint.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
higher-ranked-projection.bad.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
higher-ranked-projection.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
hr-associated-type-bound-1.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
hr-associated-type-bound-1.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
hr-associated-type-bound-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hr-associated-type-bound-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
hr-associated-type-bound-object.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
hr-associated-type-bound-object.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
hr-associated-type-bound-param-1.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
hr-associated-type-bound-param-1.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
hr-associated-type-bound-param-2.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
hr-associated-type-bound-param-2.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
hr-associated-type-bound-param-3.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
hr-associated-type-bound-param-3.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
hr-associated-type-bound-param-4.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
hr-associated-type-bound-param-4.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
hr-associated-type-bound-param-5.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
hr-associated-type-bound-param-5.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
hr-associated-type-bound-param-6.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
hr-associated-type-bound-param-6.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
hr-associated-type-projection-1.rs adjust obligation spans for super projections 2024-03-04 21:06:52 +01:00
hr-associated-type-projection-1.stderr adjust obligation spans for super projections 2024-03-04 21:06:52 +01:00
impl-trait-return-missing-constraint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-trait-return-missing-constraint.stderr Stop inverting expectation in normalization errors 2024-10-16 13:44:56 -04:00
impl-wf-cycle-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-wf-cycle-1.stderr Account for trailing comma in removal suggestion 2024-01-19 23:55:05 +00:00
impl-wf-cycle-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-wf-cycle-2.stderr Account for single where bound being removed 2024-01-22 17:52:36 +00:00
impl-wf-cycle-3.rs Provide more context on recursive impl evaluation overflow 2024-01-19 23:55:05 +00:00
impl-wf-cycle-3.stderr Provide more context on recursive impl evaluation overflow 2024-01-19 23:55:05 +00:00
impl-wf-cycle-4.rs Provide more context on recursive impl evaluation overflow 2024-01-19 23:55:05 +00:00
impl-wf-cycle-4.stderr Provide more context on recursive impl evaluation overflow 2024-01-19 23:55:05 +00:00
impl-wf-cycle-5.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-wf-cycle-5.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-wf-cycle-5.stderr Update tests 2024-02-07 10:42:01 +08:00
impl-wf-cycle-6.fixed If suggestion would leave an empty line, delete it 2024-03-01 13:48:20 +00:00
impl-wf-cycle-6.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-wf-cycle-6.stderr Update tests 2024-02-07 10:42:01 +08:00
imply-relevant-nested-item-bounds-2.rs Collect relevant item bounds from trait clauses for nested rigid projections, GATs 2024-09-25 13:13:04 -04:00
imply-relevant-nested-item-bounds-for-gat.rs Collect relevant item bounds from trait clauses for nested rigid projections, GATs 2024-09-25 13:13:04 -04:00
imply-relevant-nested-item-bounds.rs Collect relevant item bounds from trait clauses for nested rigid projections, GATs 2024-09-25 13:13:04 -04:00
issue-18655.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-19081.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-19129-1.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-19129-2.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-19883.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-19883.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-20005.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-20005.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-20763-1.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-20763-2.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-20825-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-20825.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-20825.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-21363.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-21726.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-22037.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-22037.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-22066.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-22560.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-22560.stderr Better suggestion span for missing type parameter 2024-07-04 02:41:13 +00:00
issue-22828.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-23208.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-23595-1.rs Taint more aggressively in astconv 2024-01-11 09:03:26 +00:00
issue-23595-1.stderr Taint more aggressively in astconv 2024-01-11 09:03:26 +00:00
issue-23595-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-23595-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-24159.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-24204.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-24338.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-25339.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-25700-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-25700-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-25700.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
issue-25700.stderr Mention when type parameter could be Clone 2024-04-24 22:21:15 +00:00
issue-26262.rs Move tests 2024-03-03 16:30:48 -03:00
issue-26262.stderr Move tests 2024-03-03 16:30:48 -03:00
issue-26681.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-26681.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-27675-unchecked-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-27675-unchecked-bounds.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-27901.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-28871.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-31597.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-32323.rs Move tests 2023-08-28 17:47:37 -03:00
issue-32323.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-32350.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-36499.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-36499.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-37808.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-37883.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-38821.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-38821.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-38917.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-39532.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-40093.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-41868.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-43475.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-43784-associated-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43784-associated-type.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-43924.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43924.stderr Tweak use of trimmed paths 2023-01-30 20:12:21 +00:00
issue-44153.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-44153.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-47139-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-47139-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-47385.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-47814.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-47814.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-48010.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-48551.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-50301.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-54108.current.stderr Add a bunch of tests 2024-05-30 15:52:29 -04:00
issue-54108.next.stderr Check that alias-relate terms are WF if reporting an error in alias-relate 2024-06-13 08:52:35 -04:00
issue-54108.rs Check that alias-relate terms are WF if reporting an error in alias-relate 2024-06-13 08:52:35 -04:00
issue-54182-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-54182-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-54467.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-55846.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-59324.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-59324.stderr On implicit Sized bound on fn argument, point at type instead of pattern 2024-09-27 00:45:02 +00:00
issue-62200.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-62200.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-63591.rs Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
issue-63593.current.stderr Add a bunch of tests 2024-05-30 15:52:29 -04:00
issue-63593.next.stderr Add a bunch of tests 2024-05-30 15:52:29 -04:00
issue-63593.rs Add a bunch of tests 2024-05-30 15:52:29 -04:00
issue-64848.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-64855-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-64855.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-64855.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-65774-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65774-1.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-65774-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65774-2.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
issue-65934.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-67684.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-69398.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-71113.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-72806.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72806.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-76179.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-82079.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-85103-layout-debug.rs better spans for WF errors 2023-09-09 18:00:13 +02:00
issue-85103-layout-debug.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-87261.rs Mention fn coercion rules (needs to be expanded) 2023-01-30 21:51:33 +00:00
issue-87261.stderr Mention fn coercion rules (needs to be expanded) 2023-01-30 21:51:33 +00:00
issue-88856.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-91069.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-91231.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-91234.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-associated-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-associated-types.stderr Avoid iterating over hashmaps in astconv 2023-11-19 17:45:02 +01:00
normalization-debruijn-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
normalization-debruijn-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
normalization-debruijn-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
normalization-generality-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
normalization-generality.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
normalization-probe-cycle.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
normalize-cycle-in-eval-no-region.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
normalize-cycle-in-eval.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
object-method-numbering.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
object-normalization.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
param-env-normalize-cycle.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
point-at-type-on-obligation-failure-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
point-at-type-on-obligation-failure-2.stderr Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
point-at-type-on-obligation-failure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
point-at-type-on-obligation-failure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
project-defer-unification.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
project-recursion-limit-non-fatal.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
remove-invalid-type-bound-suggest-issue-127555.rs Move ty::Error branch into super_combine_tys 2024-10-10 06:07:51 -04:00
remove-invalid-type-bound-suggest-issue-127555.stderr Move ty::Error branch into super_combine_tys 2024-10-10 06:07:51 -04:00
substs-ppaux.normal.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
substs-ppaux.rs update region debug formatting 2024-03-18 16:44:12 +00:00
substs-ppaux.verbose.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
trait-with-supertraits-needing-sized-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-with-supertraits-needing-sized-self.stderr On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
wf-cycle-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
wf-cycle.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00