rust/tests/ui/generic-associated-types
Matthias Krüger 7ab385e2e1
Rollup merge of #139854 - fmease:modern-diag-for-lt-in-ty, r=davidtwco
Improve parse errors for stray lifetimes in type position

While technically & syntactically speaking lifetimes do begin[^1] types in type contexts (this essentially excludes generic argument lists) and require a following `+` to form a complete type (`'a +` denotes a bare trait object type), the likelihood that a user meant to write a lifetime-prefixed bare trait object type in *modern* editions (Rust ≥2021) when placing a lifetime into a type context is incredibly low (they would need to add at least three tokens to turn it into a *semantically* well-formed TOT: `'a` → `dyn 'a + Trait`).

Therefore let's *lie* in modern editions (just like in PR https://github.com/rust-lang/rust/pull/131239, a precedent if you will) by stating "*expected type, found lifetime*" in such cases which is a lot more a approachable, digestible and friendly compared to "*lifetime in trait object type must be followed by `+`*" (as added in PR https://github.com/rust-lang/rust/pull/69760).

I've also added recovery for "ampersand-less" reference types (e.g., `'a ()`, `'a mut Ty`) in modern editions because it was trivial to do and I think it's not unlikely to occur in practice.

Fixes #133413.

[^1]: For example, in the context of decl macros, this implies that a lone `'a` always matches syntax fragment `ty` ("even if" there's a later macro matcher expecting syntax fragment `lifetime`). Rephrased, lifetimes (in type contexts) *commit* to the type parser.
2025-04-17 00:16:22 +02:00
..
auxiliary
bugs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
extended Remove generic_associated_types_extended feature gate 2024-12-03 16:34:44 +00:00
parse Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
ambig-hr-projection-issue-93340.next.stderr Be better at reporting alias errors 2024-10-15 20:42:17 -04:00
ambig-hr-projection-issue-93340.old.stderr Be better at reporting alias errors 2024-10-15 20:42:17 -04:00
ambig-hr-projection-issue-93340.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
anonymize-bound-vars.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assume-gat-normalization-for-nested-goals.current.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
assume-gat-normalization-for-nested-goals.next.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
assume-gat-normalization-for-nested-goals.rs Fold item bound before checking that they hold 2024-05-30 15:52:29 -04:00
collections-project-default.rs
collections-project-default.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
collections.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
collectivity-regression.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
collectivity-regression.stderr Tweak multispan rendering 2024-12-12 23:36:27 +00:00
const-generics-gat-in-trait-return-type-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-generics-gat-in-trait-return-type-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-generics-gat-in-trait-return-type-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const_params_have_right_type.rs
const_params_have_right_type.stderr Improve AssocItem::descr. 2025-04-11 11:03:08 +10:00
constraint-assoc-type-suggestion.rs
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cross-crate-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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
elided-in-expr-position.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
empty_generics.rs
empty_generics.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
equality-bound.rs Do not leave stray commas after applying suggestion 2024-02-08 00:26:42 +00:00
equality-bound.stderr Do not leave stray commas after applying suggestion 2024-02-08 00:26:42 +00:00
gat-bounds-normalize-pred.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gat-bounds-not-checked-with-right-substitutions.rs
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 Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
gat-in-trait-path-undeclared-lifetime.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
gat-in-trait-path.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
gat-in-trait-path.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
gat-trait-path-generic-type-arg.rs
gat-trait-path-generic-type-arg.stderr
gat-trait-path-missing-lifetime.rs Differentiate between methods and associated functions 2024-08-10 00:54:16 +00:00
gat-trait-path-missing-lifetime.stderr Differentiate between methods and associated functions 2024-08-10 00:54:16 +00:00
gat-trait-path-parenthesised-args.rs Improve parse errors for lifetimes in type position 2025-04-15 10:08:36 +02:00
gat-trait-path-parenthesised-args.stderr Improve parse errors for lifetimes in type position 2025-04-15 10:08:36 +02:00
generic-associated-type-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
generic-associated-types-where.rs
generic-associated-types-where.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
generic_associated_type_undeclared_lifetimes.rs
generic_associated_type_undeclared_lifetimes.stderr
guide-inference-in-gat-arg-deeper.rs Only make GAT ambiguous in match_projection_projections considering shallow resolvability 2024-05-17 12:51:21 -04:00
higher-ranked-self-impl-requirement.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl_bounds.rs
impl_bounds.stderr Move has_self field to hir::AssocKind::Fn. 2025-04-14 16:13:04 +10:00
impl_bounds_ok.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-47206-where-clause.rs
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-62326-parameter-out-of-range.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-67424.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-67510-pass.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
issue-67510-pass.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
issue-67510.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
issue-67510.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
issue-68641-check-gat-bounds.rs
issue-68641-check-gat-bounds.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00: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 Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00: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 Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00: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 Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00: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 Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
issue-68648-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-68648-2.rs
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-68653.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-68656-unsized-values.rs
issue-68656-unsized-values.stderr Tweak wording 2024-12-07 22:18:51 +00:00
issue-70303.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-70304.rs Stop proving outlives constraints on regions we already reported errors on 2024-05-29 09:27:07 +00:00
issue-70304.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-71176.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
issue-71176.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
issue-74684-1.rs
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 Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
issue-74684-2.stderr Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco" 2024-03-11 21:28:16 +00:00
issue-74816.current.stderr Add a bunch of tests 2024-05-30 15:52:29 -04:00
issue-74816.next.stderr Add a bunch of tests 2024-05-30 15:52:29 -04:00
issue-74816.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-74824.current.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
issue-74824.next.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
issue-74824.rs Add a bunch of tests 2024-05-30 15:52:29 -04:00
issue-76407.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-76535.rs Remove generic_associated_types_extended feature gate 2024-12-03 16:34:44 +00:00
issue-76535.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
issue-76826.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-78113-lifetime-mismatch-dyn-trait-box.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-78113-lifetime-mismatch-dyn-trait-box.stderr
issue-78671.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
issue-78671.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
issue-79422.rs Remove generic_associated_types_extended feature gate 2024-12-03 16:34:44 +00:00
issue-79422.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
issue-79636-1.rs return ty::Error when equating ty::Error 2024-02-19 23:54:49 +00:00
issue-79636-1.stderr return ty::Error when equating ty::Error 2024-02-19 23:54:49 +00:00
issue-79636-2.rs
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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-80433.rs Stop proving outlives constraints on regions we already reported errors on 2024-05-29 09:27:07 +00:00
issue-80433.stderr Stop proving outlives constraints on regions we already reported errors on 2024-05-29 09:27:07 +00:00
issue-81487.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-81712-cyclic-traits.rs Bless test fallout (duplicate diagnostics) 2024-03-20 13:00:34 -04:00
issue-81712-cyclic-traits.stderr Bless test fallout (duplicate diagnostics) 2024-03-20 13:00:34 -04:00
issue-81862.rs
issue-81862.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-84931.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-86218-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-86218.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-86483.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-86787.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03: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 add TypingMode::Borrowck 2025-04-03 11:13:10 +02:00
issue-87258_a.stderr add TypingMode::Borrowck 2025-04-03 11:13:10 +02:00
issue-87258_b.rs add TypingMode::Borrowck 2025-04-03 11:13:10 +02:00
issue-87258_b.stderr add TypingMode::Borrowck 2025-04-03 11:13:10 +02:00
issue-87429-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-87429-associated-type-default.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-87748.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-87750.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88287.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
issue-88287.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
issue-88360.fixed UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-88360.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-88360.stderr Update tests 2024-02-07 10:42:01 +08:00
issue-88405.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88459.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88595.rs Make DefiningAnchor::Bind only store the opaque types that may be constrained, instead of the current infcx root item. 2024-03-11 17:19:37 +00:00
issue-88595.stderr Make DefiningAnchor::Bind only store the opaque types that may be constrained, instead of the current infcx root item. 2024-03-11 17:19:37 +00:00
issue-89008.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-89352.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-90014-tait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-90014-tait.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
issue-90014-tait2.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
issue-90014-tait2.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
issue-90014.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-91139.rs
issue-91139.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
issue-91883.current.stderr Deeply normalize associated type bounds before proving them 2025-02-17 17:21:24 +00:00
issue-91883.next.stderr Deeply normalize associated type bounds before proving them 2025-02-17 17:21:24 +00:00
issue-91883.rs Deeply normalize associated type bounds before proving them 2025-02-17 17:21:24 +00:00
issue-92033.rs
issue-92033.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-92096.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-92954.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-93141.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-93262.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-93341.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-93342.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-93874.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-95305.rs
issue-95305.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-101020.rs
issue-101020.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-102114.current.stderr Improve AssocItem::descr. 2025-04-11 11:03:08 +10:00
issue-102114.next.stderr Improve AssocItem::descr. 2025-04-11 11:03:08 +10:00
issue-102114.rs Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
issue-102333.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102335-gat.rs Rename HIR TypeBinding to AssocItemConstraint and related cleanup 2024-05-30 22:52:33 +02:00
issue-102335-gat.stderr Fix associated item removal suggestion 2024-07-17 21:30:40 +00:00
issue-119942-unsatisified-gat-bound-during-assoc-ty-selection.rs Normalize xform_ret_ty after constrained 2024-04-21 20:10:12 -04:00
issue-119942-unsatisified-gat-bound-during-assoc-ty-selection.stderr clean up ADT sized constraint computation 2024-03-14 21:28:47 +01:00
iterable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
method-unsatisfied-assoc-type-predicate.rs Account for non-overlapping unmet trait bounds in suggestion 2024-01-30 19:26:13 +00:00
method-unsatisfied-assoc-type-predicate.stderr Account for non-overlapping unmet trait bounds in suggestion 2024-01-30 19:26:13 +00:00
mismatched-where-clause-regions.rs
mismatched-where-clause-regions.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
missing-bounds.fixed Revert "Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
missing-bounds.rs Revert "Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
missing-bounds.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
missing-item-sugg.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03: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 Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
missing_lifetime_args.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
missing_lifetime_const.rs
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
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
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
parameter_number_and_kind.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
parameter_number_and_kind_impl.rs Improve AssocItem::descr. 2025-04-11 11:03:08 +10:00
parameter_number_and_kind_impl.stderr Improve AssocItem::descr. 2025-04-11 11:03:08 +10:00
pointer_family.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
projection-bound-cycle-generic.rs
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
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
projection-type-lifetime-mismatch.stderr
rigid-hr-projection-issue-93340.rs one must imagine tidy happy 2024-03-14 17:19:40 +01:00
self-outlives-lint.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
self-outlives-lint.stderr Handle rustc-hir-analysis cases of rustc::potential_query_instability lint 2024-10-02 08:28:45 +03:00
shadowing.rs
shadowing.stderr
static-lifetime-tip-with-default-type.rs place explicit lifetime bound after generic param 2024-05-25 21:57:17 +08:00
static-lifetime-tip-with-default-type.stderr place explicit lifetime bound after generic param 2024-05-25 21:57:17 +08:00
streaming_iterator.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-objects.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
trait-objects.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
type-param-defaults.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
type-param-defaults.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
unknown-lifetime-ice-119827.rs Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
unknown-lifetime-ice-119827.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
unsatisfied-item-lifetime-bound.rs Split back out unused_lifetimes -> redundant_lifetimes 2024-04-09 12:17:34 -04:00
unsatisfied-item-lifetime-bound.stderr Split back out unused_lifetimes -> redundant_lifetimes 2024-04-09 12:17:34 -04:00
unsatisfied-outlives-bound.rs
unsatisfied-outlives-bound.stderr
variance_constraints.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00