os-rust/tests/ui/generic-associated-types
Matthias Krüger d7a720a863
Rollup merge of #119868 - oli-obk:unknown_lifetime_ice, r=compiler-errors
Register even erroneous impls

Otherwise the specialization graph fails to pick it up, even though other code assumes that all impl blocks have an entry in the specialization graph.

also includes an unrelated cleanup of the specialization graph query

fixes  #119827
2024-01-12 08:23:59 +01:00
..
auxiliary Format missing GATs correctly 2023-04-19 23:37:41 +00:00
bugs On Fn arg mismatch for a fn path, suggest a closure 2023-11-29 18:55:00 +00:00
extended Show number in error message even for one error 2023-11-24 19:15:52 +01:00
parse Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
anonymize-bound-vars.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assume-gat-normalization-for-nested-goals.rs Only use normalize_param_env when normalizing predicate in check_item_bounds 2023-11-08 02:35:25 +00:00
assume-gat-normalization-for-nested-goals.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
collections-project-default.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
collections-project-default.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
collections.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
collectivity-regression.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
collectivity-regression.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-generics-gat-in-trait-return-type-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-generics-gat-in-trait-return-type-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-generics-gat-in-trait-return-type-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_params_have_right_type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_params_have_right_type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
constraint-assoc-type-suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
constraint-assoc-type-suggestion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
construct_with_other_type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cross-crate-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cross-crate-bounds.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
elided-in-expr-position.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elided-in-expr-position.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty_generics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty_generics.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
equality-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
equality-bound.stderr refactor(resolve): clean up the early error return caused by non-call 2023-05-10 22:35:01 +08:00
gat-bounds-normalize-pred.rs Subst gat normalize pred correctly 2023-03-22 18:16:01 +00:00
gat-bounds-not-checked-with-right-substitutions.rs Add a regression test for #112895 2023-07-06 02:50:22 +09:00
gat-bounds-not-checked-with-right-substitutions.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
gat-in-trait-path-undeclared-lifetime.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
gat-in-trait-path-undeclared-lifetime.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
gat-in-trait-path.base.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
gat-in-trait-path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
gat-trait-path-generic-type-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
gat-trait-path-generic-type-arg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
gat-trait-path-missing-lifetime.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
gat-trait-path-missing-lifetime.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
gat-trait-path-parenthesised-args.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
gat-trait-path-parenthesised-args.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
generic-associated-type-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic-associated-types-where.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic-associated-types-where.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic_associated_type_undeclared_lifetimes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic_associated_type_undeclared_lifetimes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
higher-ranked-self-impl-requirement.rs Only use normalize_param_env when normalizing predicate in check_item_bounds 2023-11-08 02:35:25 +00:00
impl_bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl_bounds.stderr Note predicate span on ImplDerivedObligation 2023-01-11 19:46:45 +00:00
impl_bounds_ok.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-47206-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-47206-where-clause.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-58694-parameter-out-of-range.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-62326-parameter-out-of-range.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67424.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67510-pass.base.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67510-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67510.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67510.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68641-check-gat-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68641-check-gat-bounds.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-68642-broken-llvm-ir.rs Pretty print Fn traits in rustc_on_unimplemented 2023-11-02 20:57:05 +00:00
issue-68642-broken-llvm-ir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-68643-broken-mir.rs Pretty print Fn traits in rustc_on_unimplemented 2023-11-02 20:57:05 +00:00
issue-68643-broken-mir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-68644-codegen-selection.rs Pretty print Fn traits in rustc_on_unimplemented 2023-11-02 20:57:05 +00:00
issue-68644-codegen-selection.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-68645-codegen-fulfillment.rs Pretty print Fn traits in rustc_on_unimplemented 2023-11-02 20:57:05 +00:00
issue-68645-codegen-fulfillment.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-68648-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68648-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68648-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-68649-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68653.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68656-unsized-values.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68656-unsized-values.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-70303.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-70304.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-70304.stderr On borrow return type, suggest borrowing from arg or owned return type 2023-11-20 23:44:36 +00:00
issue-71176.rs Silence follow up errors if astconv already errored 2024-01-11 09:03:26 +00:00
issue-71176.stderr Silence follow up errors if astconv already errored 2024-01-11 09:03:26 +00:00
issue-74684-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-74684-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-74684-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-74684-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-74816.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-74816.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-74824.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-74824.stderr Keep obligation chain when elaborating obligations 2023-01-13 18:20:23 +00:00
issue-76407.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76535.base.stderr On object safety error, mention new enum as alternative 2023-10-29 23:55:46 +00:00
issue-76535.extended.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-76535.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76826.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-78113-lifetime-mismatch-dyn-trait-box.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-78113-lifetime-mismatch-dyn-trait-box.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-78671.base.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-78671.extended.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-78671.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79422.base.stderr On object safety error, mention new enum as alternative 2023-10-29 23:55:46 +00:00
issue-79422.extended.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
issue-79422.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79636-1.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-79636-1.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-79636-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79636-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-80433-reduced.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-80433.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-80433.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-81487.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81712-cyclic-traits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81712-cyclic-traits.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-81862.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81862.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84931.rs Work around the fact that check_mod_type_wf may spuriously return ErrorGuaranteed, even if that error is only emitted by check_modwitem_types 2023-10-25 12:04:54 +00:00
issue-84931.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
issue-85921.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86218-2.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-86218.rs Clean up some bad ui testing annotations 2023-08-15 01:03:09 +00:00
issue-86483.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86787.rs Avoid a track_errors by bubbling up most errors from check_well_formed 2023-10-20 08:46:27 +00:00
issue-86787.stderr Avoid a track_errors by bubbling up most errors from check_well_formed 2023-10-20 08:46:27 +00:00
issue-87258_a.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-87258_a.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-87258_b.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87258_b.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-87429-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87429-associated-type-default.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87429-associated-type-default.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-87429-specialization.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87429-specialization.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-87429.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87748.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87750.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-88287.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-88287.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-88360.fixed Fix #106496, suggest remove deref for type mismatch 2023-01-23 00:42:20 +08:00
issue-88360.rs Fix #106496, suggest remove deref for type mismatch 2023-01-23 00:42:20 +08:00
issue-88360.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
issue-88405.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-88459.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-88595.rs Treat opaque types failing the signature defining scope check as defining, as we already errored and can hide subsequent errors this way. 2023-06-22 15:36:42 +00:00
issue-88595.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-89008.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-89352.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90014-tait.rs Clean up some bad ui testing annotations 2023-08-15 01:03:09 +00:00
issue-90014-tait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90014-tait2.rs don't replace opaque types under binders with infer vars 2023-08-06 12:08:32 +00:00
issue-90014-tait2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90014.rs Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
issue-90014.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90729.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91139.migrate.stderr Manual find replace updates 2023-11-24 21:04:51 +01:00
issue-91139.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91139.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
issue-91883.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91883.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-92033.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-92033.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-92096.migrate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-92096.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-92096.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-92280.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-92954.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-93141.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-93262.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-93340.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-93341.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-93342.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-93874.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95305.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95305.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-101020.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101020.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-102114.current.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-102114.next.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-102114.rs update use of feature flags 2023-12-14 15:22:37 +01:00
issue-102333.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102335-gat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102335-gat.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
iterable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
method-unsatisfied-assoc-type-predicate.rs Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" 2023-02-22 09:44:26 +08:00
method-unsatisfied-assoc-type-predicate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mismatched-where-clause-regions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mismatched-where-clause-regions.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-bounds.fixed Modify existing bounds if they exist 2023-02-06 11:26:36 -08:00
missing-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-bounds.stderr Tweak wording of type errors involving type params 2023-10-18 23:53:18 +00:00
missing-item-sugg.rs Format missing GATs correctly 2023-04-19 23:37:41 +00:00
missing-item-sugg.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-where-clause-on-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-where-clause-on-trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing_lifetime_args.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
missing_lifetime_args.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
missing_lifetime_const.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
missing_lifetime_const.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
multiple-type-params-with-unmet-bounds.rs Remove unnecessary select_obligations_where_possible and redundant errors 2023-08-26 19:35:54 +00:00
multiple-type-params-with-unmet-bounds.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
own-bound-span.rs Remove unnecessary select_obligations_where_possible and redundant errors 2023-08-26 19:35:54 +00:00
own-bound-span.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
parameter_number_and_kind.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
parameter_number_and_kind.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
parameter_number_and_kind_impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parameter_number_and_kind_impl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pointer_family.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
projection-bound-cycle-generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
projection-bound-cycle-generic.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
projection-bound-cycle.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
projection-bound-cycle.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
projection-type-lifetime-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
projection-type-lifetime-mismatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-outlives-lint.rs Remove repeated definite articles 2023-04-27 00:48:00 +08:00
self-outlives-lint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
shadowing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
shadowing.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
streaming_iterator.rs tests: Uncomment now valid GAT code behind FIXME 2023-08-08 16:39:34 +02:00
trait-objects.base.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
trait-objects.extended.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
trait-objects.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-param-defaults.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
type-param-defaults.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
unknown-lifetime-ice-119827.rs Register even erroneous impls 2024-01-11 20:34:59 +00:00
unknown-lifetime-ice-119827.stderr Register even erroneous impls 2024-01-11 20:34:59 +00:00
unsatisfied-item-lifetime-bound.rs Work around the fact that check_mod_type_wf may spuriously return ErrorGuaranteed, even if that error is only emitted by check_modwitem_types 2023-10-25 12:04:54 +00:00
unsatisfied-item-lifetime-bound.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
unsatisfied-outlives-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsatisfied-outlives-bound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
variance_constraints.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00