rust/tests/ui/traits
Matthias Krüger da43826398
Rollup merge of #139774 - compiler-errors:supertrait-alias, r=lcnr
Fix replacing supertrait aliases in `ReplaceProjectionWith`

The new solver has a procedure called `predicates_for_object_candidate`, which elaborates the super-bounds and item-bounds that are required to hold for a dyn trait to implement something via a built-in object impl.

In that procedure, there is a folder called `ReplaceProjectionWith` which is responsible for replacing projections that reference `Self`, so that we don't encounter cycles when we then go on to normalize those projections in the process of proving these super-bounds.

That folder had a few problems: Firstly, it wasn't actually checking that this was a super bound originating from `Self`. Secondly, it only accounted for a *single* projection type def id, but trait objects can have multiple (i.e. `trait Foo<A, B>: Bar<A, Assoc = A> + Bar<B, Assoc = B>`).

To fix the first, it's simple enough to just add an equality check for the self ty. To fix the second, I implemented a matching step that's very similar to the `projection_may_match` check we have for upcasting, since on top of having multiple choices, we need to deal with both non-structural matches and ambiguity.

This probably lacks a bit of documentation, but I think it works pretty well.

Fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/171

r? lcnr
2025-04-17 17:40:27 +02:00
..
alias UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
associated_type_bound Add test for issue 34834 2025-04-14 17:16:23 +09:00
auxiliary
bound Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
const-traits Deeply normalize obligations in BestObligation 2025-04-10 18:58:04 +00:00
default-method UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
default_auto_traits UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
error-reporting Consider param-env candidates even if they have errors 2024-10-24 01:48:44 +00:00
fn-pointer Make bare-fn test less dependent on path width 2025-01-09 17:32:29 +00:00
inductive-overflow Do not register Self: AutoTrait when confirming auto trait 2025-03-09 02:00:01 +00:00
inheritance Mention type parameter in more cases and don't suggest ~const bound already there 2024-12-07 21:37:13 +00:00
negative-bounds Check Sizedness of return type in WF 2025-02-03 19:00:22 +00:00
negative-impls Make rustdoc tests use always applicable negative auto impls 2025-03-04 18:04:07 +00:00
next-solver Rollup merge of #139774 - compiler-errors:supertrait-alias, r=lcnr 2025-04-17 17:40:27 +02:00
non_lifetime_binders UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
object replace //@ compile-flags: --edition with //@ edition 2025-04-10 09:56:37 +02:00
reservation-impl
solver-cycles compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
suggest-dereferences E0277: suggest dereferencing function arguments in more cases 2024-11-21 03:27:05 -08:00
trait-upcasting Rollup merge of #138357 - lcnr:goodbye-TypeVerifier-rarw, r=compiler-errors 2025-03-12 10:19:31 -07:00
vtable Rework rustc_dump_vtable 2025-01-30 15:30:04 +00:00
wf-object UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
winnowing Rollup merge of #139798 - lcnr:where-bounds-gt-alias-bound, r=compiler-errors 2025-04-15 15:47:30 +10:00
alignment-gep-tup-like-1.rs
anon-static-method.rs
anon_trait_static_method_exe.rs
as-struct-constructor.rs
as-struct-constructor.stderr
assignability-trait.rs
assoc-type-hrtb-normalization-30472.rs Add test for issue 30472 2024-10-07 16:30:48 +00:00
assoc-type-in-superbad.rs
assoc-type-in-superbad.stderr
assoc-type-in-supertrait.rs
astconv-cycle-between-and-type.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
augmented-assignments-trait.rs
bad-method-typaram-kind.rs
bad-method-typaram-kind.stderr Mention type parameter in more cases and don't suggest ~const bound already there 2024-12-07 21:37:13 +00:00
bad-sized.rs Dont create object type when more than one principal is present 2024-11-23 18:54:08 +00:00
bad-sized.stderr Rework trait expansion to happen once explicitly 2025-01-15 01:26:24 +00:00
bug-7183-generics.rs
bug-7295.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
cache-issue-18209.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
cache-reached-depth-ice.rs
cache-reached-depth-ice.stderr
coercion-generic-bad.rs
coercion-generic-bad.stderr Add trait diff highlighting logic and use it in E0277 2024-11-02 03:08:04 +00:00
coercion-generic-regions.rs
coercion-generic-regions.stderr best_blame_constraint: don't filter constraints by sup SCC 2025-01-06 16:08:29 -08:00
coercion-generic.rs
coercion.rs
composition-trivial.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
conditional-dispatch.rs
conditional-model-fn.rs
conservative_impl_trait.rs
copy-guessing.rs
copy-guessing.stderr
copy-impl-cannot-normalize.rs
copy-impl-cannot-normalize.stderr reword trait bound suggestion message to include the bounds 2024-12-07 21:26:20 +00:00
copy-is-not-modulo-regions.not_static.stderr Do not talk about "trait <Foo = Bar>" 2024-12-07 21:37:15 +00:00
copy-is-not-modulo-regions.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
copy-requires-self-wf.rs
cycle-cache-err-60010.rs
cycle-cache-err-60010.stderr
cycle-generic-bound.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
cycle-type-trait.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
deny-builtin-object-impl.current.stderr split up #[rustc_deny_explicit_impl] attribute 2024-12-20 16:57:14 +01:00
deny-builtin-object-impl.next.stderr split up #[rustc_deny_explicit_impl] attribute 2024-12-20 16:57:14 +01:00
deny-builtin-object-impl.rs split up #[rustc_deny_explicit_impl] attribute 2024-12-20 16:57:14 +01:00
do-not-mention-type-params-by-name-in-suggestion-issue-96292.rs
do-not-mention-type-params-by-name-in-suggestion-issue-96292.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
dont-autoderef-ty-with-escaping-var.rs
dont-autoderef-ty-with-escaping-var.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
dont-match-error-ty-with-calller-supplied-obligation-issue-121941.rs Stop being so bail-y in candidate assembly 2024-11-21 01:35:34 +00:00
dont-match-error-ty-with-calller-supplied-obligation-issue-121941.stderr Stop being so bail-y in candidate assembly 2024-11-21 01:35:34 +00:00
dont-suggest-impl-as-closure-arg.rs Suggest the use of impl Trait in function parameter only 2025-04-09 08:56:04 +02:00
dont-suggest-impl-as-closure-arg.stderr Suggest the use of impl Trait in function parameter only 2025-04-09 08:56:04 +02:00
duplicate-methods.rs
duplicate-methods.stderr
dyn-any-prefer-vtable.rs
dyn-drop-principal-with-projections.rs Fix trait upcasting to dyn type with no principal when there are projections 2025-04-05 19:34:04 +00:00
dyn-drop-principal.rs Add more tests 2024-10-18 00:33:50 +02:00
dyn-drop-principal.run.stdout Allow dropping dyn principal 2024-10-17 20:43:31 +02:00
dyn-star-drop-principal.rs Add more tests 2024-10-18 00:33:50 +02:00
dyn-star-drop-principal.stderr Add more tests 2024-10-18 00:33:50 +02:00
dyn-trait.rs
early-vtbl-resolution.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
elaborate-type-region.rs
false-ambiguity-where-clause-builtin-bound.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
fmt-pointer-trait.rs
fully-qualified-syntax-cast.rs test: Add test for trait in FQS cast, issue #98565 2024-10-21 11:45:19 +03:00
fully-qualified-syntax-cast.stderr test: Add test for trait in FQS cast, issue #98565 2024-10-21 11:45:19 +03:00
generic.rs
generic_param_mismatch_in_unsatisfied_projection.rs
generic_param_mismatch_in_unsatisfied_projection.stderr
hrtb-related-type-params-30867.rs Add test for issue 30867 2024-10-07 16:30:48 +00:00
ice-index-out-of-bounds-issue-117446.rs Added regression test for 117446 2024-11-02 22:17:46 +09:00
ice-index-out-of-bounds-issue-117446.stderr Added regression test for 117446 2024-11-02 22:17:46 +09:00
ice-trait-with-default-method-but-no-impl-broken-mir-109869-1.rs
ice-trait-with-default-method-but-no-impl-broken-mir-109869-1.stderr
ice-trait-with-default-method-but-no-impl-broken-mir-109869-2.rs
ice-trait-with-default-method-but-no-impl-broken-mir-109869-2.stderr
ice-trait-with-default-method-but-no-impl-broken-mir-109869-trivial-bounds.rs
ice-trait-with-default-method-but-no-impl-broken-mir-109869-trivial-bounds.stderr
ice-with-dyn-pointee-errors.rs
ice-with-dyn-pointee-errors.stderr Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
ice-with-dyn-pointee.rs
ignore-err-impls.rs
ignore-err-impls.stderr
impl-1.rs
impl-1.stderr
impl-2.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
impl-bounds-checking.rs
impl-bounds-checking.stderr
impl-can-not-have-untraitful-items.rs
impl-can-not-have-untraitful-items.stderr
impl-different-num-params.rs
impl-different-num-params.stderr
impl-evaluation-order.rs
impl-for-module.rs
impl-for-module.stderr
impl-implicit-trait.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
impl-inherent-prefer-over-trait.rs
impl-inherent-prefer-over-trait.stderr
impl-method-mismatch.rs
impl-method-mismatch.stderr
impl-object-overlap-issue-23853.rs
impl-object-overlap-issue-23853.stderr
impl-of-supertrait-has-wrong-lifetime-parameters.rs
impl-of-supertrait-has-wrong-lifetime-parameters.stderr fix: Alloc new errorcode E0803 for E0495 2025-02-15 12:18:30 +08:00
impl.rs
impl.stderr
impl_trait_as_trait_return_position.rs
incoherent-impl-ambiguity.rs Separate collection of crate-local inherent impls from error reporting 2024-09-24 10:12:05 -04:00
incoherent-impl-ambiguity.stderr Separate collection of crate-local inherent impls from error reporting 2024-09-24 10:12:05 -04:00
incomplete-infer-via-sized-wc.current.stderr Flesh out tests 2025-03-13 21:17:46 +00:00
incomplete-infer-via-sized-wc.next.stderr Flesh out tests 2025-03-13 21:17:46 +00:00
incomplete-infer-via-sized-wc.rs Flesh out tests 2025-03-13 21:17:46 +00:00
infer-from-object-issue-26952.rs
inherent-method-order.rs
issue-2611-3.rs
issue-3683.rs
issue-3973.rs
issue-3973.stderr
issue-3979-generics.rs
issue-4107.rs
issue-5008-borrowed-traitobject-method-call.rs
issue-6128.rs
issue-6128.stderr
issue-6334.rs
issue-7013.rs
issue-7013.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-8153.rs
issue-8153.stderr
issue-9394-inherited-calls.rs
issue-15155.rs
issue-18400.rs
issue-18400.stderr
issue-18412.rs
issue-20692.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
issue-20692.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
issue-21837.rs
issue-21837.stderr reword trait bound suggestion message to include the bounds 2024-12-07 21:26:20 +00:00
issue-22019.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-22110.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-22384.rs
issue-22384.stderr
issue-22655.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-23003-overflow.rs
issue-23003.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-23825.rs
issue-24010.rs
issue-26339.rs
issue-28576.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
issue-28576.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-32963.rs Dont create object type when more than one principal is present 2024-11-23 18:54:08 +00:00
issue-32963.stderr Dont create object type when more than one principal is present 2024-11-23 18:54:08 +00:00
issue-33096.rs
issue-33140-hack-boundaries.rs Turn order dependent trait objects future incompat warning into a hard error 2025-02-20 13:39:39 +00:00
issue-33140-hack-boundaries.stderr Turn order dependent trait objects future incompat warning into a hard error 2025-02-20 13:39:39 +00:00
issue-33140.rs
issue-33140.stderr
issue-33187.rs
issue-35869.rs
issue-35869.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-38033.rs
issue-38033.stderr
issue-38404.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
issue-38404.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
issue-38604.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
issue-38604.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
issue-40085.rs
issue-43132.rs
issue-43784-supertrait.rs
issue-43784-supertrait.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
issue-50480.rs
issue-50480.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
issue-52893.rs
issue-52893.stderr Check for generic parameter mismatches on trait functions. 2025-02-03 12:54:53 -05:00
issue-56202.rs
issue-56488.rs
issue-58344.rs
issue-59029-1.rs
issue-59029-1.stderr
issue-59029-2.rs
issue-65284-suggest-generic-trait-bound.rs
issue-65284-suggest-generic-trait-bound.stderr
issue-65673.rs
issue-65673.stderr
issue-66768.rs
issue-68295.rs
issue-68295.stderr
issue-70944.rs
issue-71036.rs
issue-71036.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-71136.rs
issue-71136.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
issue-72410.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
issue-72410.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
issue-72455.rs
issue-75627.rs
issue-75627.stderr
issue-77982.rs Enable more tests on Windows 2025-02-03 10:39:32 -05:00
issue-77982.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-78372.rs Stop being so bail-y in candidate assembly 2024-11-21 01:35:34 +00:00
issue-78372.stderr Consolidate and rework CoercePointee and DispatchFromDyn errors 2025-02-24 19:34:54 +00:00
issue-78632.rs
issue-79458.rs
issue-79458.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
issue-82830.rs
issue-83538-tainted-cache-after-cycle.rs
issue-83538-tainted-cache-after-cycle.stderr
issue-84399-bad-fresh-caching.rs
issue-85360-eval-obligation-ice.rs replace //@ compile-flags: --edition with //@ edition 2025-04-10 09:56:37 +02:00
issue-85360-eval-obligation-ice.stderr
issue-85735.rs
issue-85735.stderr
issue-87558.rs
issue-87558.stderr
issue-89119.rs
issue-90195-2.rs
issue-90195.rs
issue-90662-projection-caching.rs
issue-91594.rs
issue-91594.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-91949-hangs-on-recursion.rs
issue-91949-hangs-on-recursion.stderr
issue-92292.rs
issue-95311.rs
issue-95898.rs
issue-95898.stderr
issue-96664.rs
issue-96665.rs
issue-97576.rs
issue-97576.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-97695-double-trivial-bound.rs
issue-103563.rs
issue-104322.rs
issue-105231.rs stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02:00
issue-105231.stderr stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02:00
issue-106072.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-106072.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
issue-117794.rs
issue-117794.stderr
item-inside-macro.rs
item-privacy.rs fallout :skull_emoji: 2025-02-14 00:37:23 +01:00
item-privacy.stderr fallout :skull_emoji: 2025-02-14 00:37:23 +01:00
kindck-owned-contains-1.rs
lifetime-incomplete-prefer-sized-builtin-over-wc-2.rs Flesh out tests 2025-03-13 21:17:46 +00:00
lifetime-incomplete-prefer-sized-builtin-over-wc.current.stderr Flesh out tests 2025-03-13 21:17:46 +00:00
lifetime-incomplete-prefer-sized-builtin-over-wc.next.stderr Flesh out tests 2025-03-13 21:17:46 +00:00
lifetime-incomplete-prefer-sized-builtin-over-wc.rs Flesh out tests 2025-03-13 21:17:46 +00:00
make-sure-to-filter-projections-by-def-id.rs
map-types.rs
map-types.stderr
matching-lifetimes.rs
matching-lifetimes.stderr
maybe-polarity-pass.rs Reject impl Trait bounds in various places where we unconditionally warned since 1.0 2025-02-11 09:19:37 +00:00
maybe-polarity-pass.stderr Reject impl Trait bounds in various places where we unconditionally warned since 1.0 2025-02-11 09:19:37 +00:00
maybe-polarity-repeated.rs Reject impl Trait bounds in various places where we unconditionally warned since 1.0 2025-02-11 09:19:37 +00:00
maybe-polarity-repeated.stderr Reject impl Trait bounds in various places where we unconditionally warned since 1.0 2025-02-11 09:19:37 +00:00
method-argument-mismatch-variance-ice-119867.rs
method-argument-mismatch-variance-ice-119867.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
method-on-unbounded-type-param.rs
method-on-unbounded-type-param.stderr
method-private.rs
method-private.stderr
missing-for-type-in-impl.e2015.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
missing-for-type-in-impl.e2021.stderr Remove a bunch of diagnostic stashing that doesn't do anything 2025-01-11 19:22:06 +00:00
missing-for-type-in-impl.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
monad.rs
monomorphized-callees-with-ty-params-3314.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
multidispatch-bad.rs
multidispatch-bad.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
multidispatch-conditional-impl-not-considered.rs
multidispatch-conditional-impl-not-considered.stderr
multidispatch-convert-ambig-dest.rs
multidispatch-convert-ambig-dest.stderr
multidispatch-infer-convert-target.rs
multidispatch-infer-convert-target.stderr
multidispatch1.rs
multidispatch2.rs
mutual-recursion-issue-75860.rs
mutual-recursion-issue-75860.stderr increment depth of nested obligations 2025-03-31 23:58:17 +02:00
no-fallback-multiple-impls.rs
no-fallback-multiple-impls.stderr
no_send-struct.rs
no_send-struct.stderr
non-lifetime-via-dyn-builtin.current.stderr
non-lifetime-via-dyn-builtin.next.stderr
non-lifetime-via-dyn-builtin.rs
normalize-conflicting-impls.rs
normalize-conflicting-impls.stderr
normalize-supertrait.rs
not-suggest-non-existing-fully-qualified-path.rs
not-suggest-non-existing-fully-qualified-path.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
object-does-not-impl-trait.rs
object-does-not-impl-trait.stderr
object-one-type-two-traits.rs
objects-owned-object-borrowed-method-headerless.rs
on_unimplemented_long_types.rs tests: remove explicit long type filename hash normalization from some ui tests 2025-03-04 00:21:02 +08:00
on_unimplemented_long_types.stderr tests: remove explicit long type filename hash normalization from some ui tests 2025-03-04 00:21:02 +08:00
operator-overloading-issue-52025.rs
overflow-computing-ambiguity.rs
overflow-computing-ambiguity.stderr
overlap-not-permitted-for-builtin-trait.rs
overlap-not-permitted-for-builtin-trait.stderr
overlap-permitted-for-marker-traits.rs
param-without-lifetime-constraint.rs
param-without-lifetime-constraint.stderr
parameterized-with-bounds.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
pointee-deduction.rs
pointee-normalize-equate.rs
pointee-tail-is-generic-errors.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
pointee-tail-is-generic-errors.stderr Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
pointee-tail-is-generic.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
pred-known-to-hold-modulo-regions-unsized-tail.rs
principal-less-objects.rs
privacy.rs
project-modulo-regions.rs
project-modulo-regions.with_clause.stderr
project-modulo-regions.without_clause.stderr
question-mark-result-err-mismatch.rs Don't mention FromResidual on bad ? 2025-02-18 17:34:16 +00:00
question-mark-result-err-mismatch.stderr Don't mention FromResidual on bad ? 2025-02-18 17:34:16 +00:00
region-pointer-simple.rs
resolution-in-overloaded-op.rs
resolution-in-overloaded-op.stderr
resolve-impl-before-constrain-check.rs Delay a bug when encountering an impl with unconstrained generics in codegen_select 2024-11-23 05:27:45 +00:00
resolve-impl-before-constrain-check.stderr Delay a bug when encountering an impl with unconstrained generics in codegen_select 2024-11-23 05:27:45 +00:00
safety-fn-body.rs
safety-fn-body.stderr
safety-inherent-impl.rs
safety-inherent-impl.stderr
safety-ok-cc.rs
safety-ok.rs
safety-trait-impl-cc.rs
safety-trait-impl-cc.stderr
safety-trait-impl.rs
safety-trait-impl.stderr
self-without-lifetime-constraint.rs
self-without-lifetime-constraint.stderr
span-bug-issue-121414.rs Stop being so bail-y in candidate assembly 2024-11-21 01:35:34 +00:00
span-bug-issue-121414.stderr Stop being so bail-y in candidate assembly 2024-11-21 01:35:34 +00:00
stack-error-order-dependence-2.rs
stack-error-order-dependence.rs
static-method-generic-inference.rs
static-method-generic-inference.stderr
static-method-overwriting.rs
static-outlives-a-where-clause.rs
staticness-mismatch.rs
staticness-mismatch.stderr
subtype-recursion-limit.rs
subtype-recursion-limit.stderr
suggest-fully-qualified-closure.rs
suggest-fully-qualified-closure.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
suggest-fully-qualified-path-with-adjustment.rs
suggest-fully-qualified-path-with-adjustment.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
suggest-fully-qualified-path-without-adjustment.rs
suggest-fully-qualified-path-without-adjustment.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
suggest-where-clause.rs
suggest-where-clause.stderr
superdefault-generics.rs
syntax-polarity.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
syntax-trait-polarity.rs
syntax-trait-polarity.stderr
test-2.rs
test-2.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
test.rs
test.stderr
to-str.rs
track-obligations.rs
track-obligations.stderr
trait-object-lifetime-default-note.rs best_blame_constraint: add a special case to recover object lifetime default notes 2025-01-06 16:12:04 -08:00
trait-object-lifetime-default-note.stderr best_blame_constraint: add a special case to recover object lifetime default notes 2025-01-06 16:12:04 -08:00
trait-or-new-type-instead.rs
trait-or-new-type-instead.stderr
trait-selection-ice-84727.rs
trait-selection-ice-84727.stderr
trivial-unsized-projection-2.bad.stderr Use a query rather than recomputing the tail repeatedly 2025-04-09 20:26:58 +00:00
trivial-unsized-projection-2.bad_new.stderr Use a query rather than recomputing the tail repeatedly 2025-04-09 20:26:58 +00:00
trivial-unsized-projection-2.rs Use a query rather than recomputing the tail repeatedly 2025-04-09 20:26:58 +00:00
trivial-unsized-projection-in-coherence.rs Make unnormalizable item ambiguous in coherence 2025-04-09 20:31:58 +00:00
trivial-unsized-projection-in-coherence.stderr Make unnormalizable item ambiguous in coherence 2025-04-09 20:31:58 +00:00
trivial-unsized-projection.bad.stderr Rigidly project missing item due to guaranteed impossible sized predicate 2025-04-09 20:26:57 +00:00
trivial-unsized-projection.bad_new.stderr Mark GAT WC as GoalSource::AliasWellFormed so that we recurse into them in error reporting 2025-04-09 20:26:57 +00:00
trivial-unsized-projection.rs Mark GAT WC as GoalSource::AliasWellFormed so that we recurse into them in error reporting 2025-04-09 20:26:57 +00:00
trivial_impl.rs
trivial_impl.stderr
trivial_impl2.rs
trivial_impl2.stderr
trivial_impl3.rs
trivial_impl3.stderr
trivial_impl4.rs
trivial_impl4.stderr
trivial_impl_sized.rs Don't require method impls for methods with Self:Sized bounds for impls for unsized types 2025-02-25 08:06:30 +00:00
trivial_impl_sized.stderr Don't require method impls for methods with Self:Sized bounds for impls for unsized types 2025-02-25 08:06:30 +00:00
typeclasses-eq-example-static.rs
typeclasses-eq-example.rs
ufcs-object.rs
unconstrained-projection-normalization-2.current.stderr Also in the new solver 2025-01-03 05:22:14 +00:00
unconstrained-projection-normalization-2.next.stderr Also in the new solver 2025-01-03 05:22:14 +00:00
unconstrained-projection-normalization-2.rs Also in the new solver 2025-01-03 05:22:14 +00:00
unconstrained-projection-normalization.current.stderr Also in the new solver 2025-01-03 05:22:14 +00:00
unconstrained-projection-normalization.next.stderr Also in the new solver 2025-01-03 05:22:14 +00:00
unconstrained-projection-normalization.rs Also in the new solver 2025-01-03 05:22:14 +00:00
unsend-future.rs
unsend-future.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
unsize-goal-escaping-bounds.current.stderr Check whole Unsize predicate for escaping bound vars 2025-02-10 21:53:05 +00:00
unsize-goal-escaping-bounds.rs Check whole Unsize predicate for escaping bound vars 2025-02-10 21:53:05 +00:00
unspecified-self-in-trait-ref.rs
unspecified-self-in-trait-ref.stderr Properly report error when object type param default references self 2025-01-24 04:07:10 +00:00
upcast_reorder.rs remove feature(trait_upcasting) from tests and bless them 2025-02-06 23:44:23 +01:00
upcast_soundness_bug.rs remove feature(trait_upcasting) from tests and bless them 2025-02-06 23:44:23 +01:00
upcast_soundness_bug.stderr remove feature(trait_upcasting) from tests and bless them 2025-02-06 23:44:23 +01:00
use-before-def.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
vtable-res-trait-param.rs
vtable-res-trait-param.stderr
well-formed-recursion-limit.rs
well-formed-recursion-limit.stderr
where-clause-vs-impl.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
with-bounds-default.rs
with-dst.rs
wrong-mul-method-signature.rs
wrong-mul-method-signature.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00