rust/tests/ui/traits
Guillaume Gomez 86b791a272
Rollup merge of #123618 - compiler-errors:overflow-ambig, r=spastorino
Discard overflow obligations in `impl_may_apply`

Hacky fix for #123493. Throws away obligations that are overflowing in `impl_may_apply` when we recompute if an impl applies, since those will lead to fatal overflow if processed during fulfillment.

Something about #114811 (I think it's the predicate reordering) caused us to evaluate predicates differently in error reporting leading to fatal overflow, though I believe the underlying overflow is possible to hit since this code was rewritten to use fulfillment.

Fixes #123493
2024-04-14 23:24:33 +02:00
..
alias Update (doc) comments 2024-03-22 06:31:51 +01:00
associated_type_bound Bless test fallout (duplicate diagnostics) 2024-03-20 13:00:34 -04:00
auxiliary
bound Use TraitRef::to_string sorting in favor of TraitRef::ord, as the latter compares DefIds which we need to avoid 2024-03-27 14:02:15 +00:00
default-method [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inductive-overflow Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
inheritance [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
negative-bounds Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
negative-impls Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
next-solver Uniquify ReError on input mode in canonicalizer 2024-03-22 16:35:50 -04:00
non_lifetime_binders Consolidate WF for aliases 2024-03-14 12:17:00 -04:00
object regression test for #103626 2024-03-23 17:48:57 +01:00
reservation-impl [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
solver-cycles [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-dereferences Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
trait-upcasting Switch upcast projections to allowing opaque types and add a test showing it works. 2024-04-04 14:25:50 +00:00
vtable [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
wf-object [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
alignment-gep-tup-like-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
anon_trait_static_method_exe.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
anon-static-method.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
as-struct-constructor.rs
as-struct-constructor.stderr
assignability-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assoc-type-in-superbad.rs
assoc-type-in-superbad.stderr
assoc-type-in-supertrait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
astconv-cycle-between-and-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
augmented-assignments-trait.rs Detect unused struct impls pub trait 2024-03-10 23:30:53 +08:00
bad-method-typaram-kind.rs
bad-method-typaram-kind.stderr
bad-sized.rs
bad-sized.stderr On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
bug-7183-generics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bug-7295.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cache-issue-18209.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cache-reached-depth-ice.rs
cache-reached-depth-ice.stderr
coercion-generic-bad.rs
coercion-generic-bad.stderr
coercion-generic-regions.rs
coercion-generic-regions.stderr
coercion-generic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coercion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
composition-trivial.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
conditional-dispatch.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
conditional-model-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
conservative_impl_trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
copy-guessing.rs Use fn ptr signature instead of {closure@..} in infer error 2024-04-10 00:41:27 +00:00
copy-guessing.stderr Use fn ptr signature instead of {closure@..} in infer error 2024-04-10 00:41:27 +00:00
copy-impl-cannot-normalize.rs
copy-impl-cannot-normalize.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
copy-is-not-modulo-regions.not_static.stderr
copy-is-not-modulo-regions.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
copy-requires-self-wf.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cycle-cache-err-60010.rs
cycle-cache-err-60010.stderr
cycle-generic-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cycle-type-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
deny-builtin-object-impl.current.stderr Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
deny-builtin-object-impl.next.stderr Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
deny-builtin-object-impl.rs Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04: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
dont-autoderef-ty-with-escaping-var.rs
dont-autoderef-ty-with-escaping-var.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
dont-match-error-ty-with-calller-supplied-obligation-issue-121941.rs Don't Create ParamCandidate When Obligation Contains Errors 2024-03-12 15:27:08 -04:00
dont-match-error-ty-with-calller-supplied-obligation-issue-121941.stderr Don't Create ParamCandidate When Obligation Contains Errors 2024-03-12 15:27:08 -04:00
duplicate-methods.rs
duplicate-methods.stderr
dyn-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
early-vtbl-resolution.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
elaborate-type-region.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
false-ambiguity-where-clause-builtin-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fmt-pointer-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-trait-cast-diagnostic.rs
fn-trait-cast-diagnostic.stderr
generic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ice-trait-with-default-method-but-no-impl-broken-mir-109869-1.rs add tests for ICE: 'broken MIR: bad assignment: NoSolution' on trait with default method and no impls 2024-03-24 10:57:20 +01:00
ice-trait-with-default-method-but-no-impl-broken-mir-109869-1.stderr add tests for ICE: 'broken MIR: bad assignment: NoSolution' on trait with default method and no impls 2024-03-24 10:57:20 +01:00
ice-trait-with-default-method-but-no-impl-broken-mir-109869-2.rs add tests for ICE: 'broken MIR: bad assignment: NoSolution' on trait with default method and no impls 2024-03-24 10:57:20 +01:00
ice-trait-with-default-method-but-no-impl-broken-mir-109869-2.stderr add tests for ICE: 'broken MIR: bad assignment: NoSolution' on trait with default method and no impls 2024-03-24 10:57:20 +01:00
ice-trait-with-default-method-but-no-impl-broken-mir-109869-trivial-bounds.rs add tests for ICE: 'broken MIR: bad assignment: NoSolution' on trait with default method and no impls 2024-03-24 10:57:20 +01:00
ice-trait-with-default-method-but-no-impl-broken-mir-109869-trivial-bounds.stderr add tests for ICE: 'broken MIR: bad assignment: NoSolution' on trait with default method and no impls 2024-03-24 10:57:20 +01:00
ice-with-dyn-pointee-errors.rs
ice-with-dyn-pointee-errors.stderr
ice-with-dyn-pointee.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ignore-err-impls.rs
ignore-err-impls.stderr
impl_trait_as_trait_return_position.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-1.rs
impl-1.stderr
impl-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-for-module.rs
impl-for-module.stderr
impl-implicit-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-inherent-prefer-over-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-inherent-prefer-over-trait.stderr Update tests 2024-02-07 10:42:01 +08:00
impl-method-mismatch.rs
impl-method-mismatch.stderr
impl-object-overlap-issue-23853.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-object-overlap-issue-23853.stderr Update tests 2024-02-07 10:42:01 +08:00
impl-of-supertrait-has-wrong-lifetime-parameters.rs
impl-of-supertrait-has-wrong-lifetime-parameters.stderr Stop sorting via DefIds in region resolution 2024-03-21 16:36:17 +00:00
impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl.stderr Update tests 2024-02-07 10:42:01 +08:00
infer-from-object-issue-26952.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inherent-method-order.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-2611-3.rs Move tests 2024-04-07 17:38:07 -03:00
issue-3683.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-3973.rs
issue-3973.stderr
issue-3979-generics.rs Move tests 2024-03-03 16:30:48 -03:00
issue-4107.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-5008-borrowed-traitobject-method-call.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-6128.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-6128.stderr Update tests 2024-02-07 10:42:01 +08:00
issue-6334.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-7013.rs
issue-7013.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-8153.rs
issue-8153.stderr
issue-9394-inherited-calls.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-15155.rs Move tests 2024-03-03 16:30:48 -03:00
issue-18400.rs
issue-18400.stderr
issue-18412.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-20692.rs
issue-20692.stderr
issue-21837.rs Move tests 2024-03-03 16:30:48 -03:00
issue-21837.stderr Move tests 2024-03-03 16:30:48 -03:00
issue-22019.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-22110.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-22384.rs
issue-22384.stderr
issue-22655.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-23003-overflow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-23003.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-23825.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-24010.rs Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
issue-26339.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-28576.rs
issue-28576.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
issue-32963.rs
issue-32963.stderr
issue-33096.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-33140-hack-boundaries.rs
issue-33140-hack-boundaries.stderr Do not point at #[allow(_)] as the reason for compat lint triggering 2024-02-13 20:27:43 +00:00
issue-33140.rs Continue compilation even if inherent impl checks fail 2024-02-14 21:04:51 +00:00
issue-33140.stderr Continue compilation even if inherent impl checks fail 2024-02-14 21:04:51 +00:00
issue-33187.rs Detect unused struct impls pub trait 2024-03-10 23:30:53 +08:00
issue-35869.rs
issue-35869.stderr
issue-38033.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-38033.stderr Update tests 2024-02-07 10:42:01 +08:00
issue-38404.rs
issue-38404.stderr
issue-38604.rs
issue-38604.stderr
issue-40085.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-43132.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-43784-supertrait.rs
issue-43784-supertrait.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-50480.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-50480.stderr Merge check_mod_impl_wf and check_mod_type_wf 2024-03-07 06:27:09 +00:00
issue-52893.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-52893.stderr
issue-56202.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-56488.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-58344.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-59029-1.rs
issue-59029-1.stderr
issue-59029-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-65284-suggest-generic-trait-bound.rs
issue-65284-suggest-generic-trait-bound.stderr
issue-65673.rs
issue-65673.stderr
issue-66768.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-68295.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-68295.stderr
issue-70944.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-71036.rs
issue-71036.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-71136.rs
issue-71136.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-72410.rs
issue-72410.stderr
issue-72455.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-75627.rs
issue-75627.stderr
issue-77982.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-77982.stderr Use fn ptr signature instead of {closure@..} in infer error 2024-04-10 00:41:27 +00:00
issue-78372.rs Stop bailing out from compilation just because there were incoherent traits 2024-02-05 10:17:31 +00:00
issue-78372.stderr Stop bailing out from compilation just because there were incoherent traits 2024-02-05 10:17:31 +00:00
issue-78632.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-79458.rs
issue-79458.stderr
issue-82830.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83538-tainted-cache-after-cycle.rs
issue-83538-tainted-cache-after-cycle.stderr
issue-84399-bad-fresh-caching.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-85360-eval-obligation-ice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-85360-eval-obligation-ice.stderr On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
issue-85735.rs
issue-85735.stderr
issue-87558.rs
issue-87558.stderr
issue-89119.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-90195-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-90195.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-90662-projection-caching.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-91594.rs
issue-91594.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-91949-hangs-on-recursion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-91949-hangs-on-recursion.stderr
issue-92292.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-95311.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-95898.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-95898.stderr
issue-96664.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-96665.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97576.rs
issue-97576.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-97695-double-trivial-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-99875.rs
issue-99875.stderr
issue-103563.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-104322.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-105231.rs Merge check_mod_impl_wf and check_mod_type_wf 2024-03-07 06:27:09 +00:00
issue-105231.stderr Merge check_mod_impl_wf and check_mod_type_wf 2024-03-07 06:27:09 +00:00
issue-106072.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-106072.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
issue-117794.rs
issue-117794.stderr Consider methods from traits when suggesting typos 2024-02-22 18:04:55 +00:00
item-inside-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
item-privacy.rs
item-privacy.stderr Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
kindck-owned-contains-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
make-sure-to-filter-projections-by-def-id.rs Check def id before calling match_projection_projections 2024-04-04 16:01:13 -04:00
map-types.rs
map-types.stderr
matching-lifetimes.rs
matching-lifetimes.stderr Stop sorting via DefIds in region resolution 2024-03-21 16:36:17 +00:00
method-argument-mismatch-variance-ice-119867.rs
method-argument-mismatch-variance-ice-119867.stderr
method-on-unbounded-type-param.rs Add test for method on unbounded type parameter receiver 2024-01-30 19:07:18 +00:00
method-on-unbounded-type-param.stderr Sort a diagnostic by DefPathStr instead of DefId 2024-03-27 14:02:16 +00:00
method-private.rs
method-private.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
monad.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
monomorphized-callees-with-ty-params-3314.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
multidispatch1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
multidispatch2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
multidispatch-bad.rs
multidispatch-bad.stderr
multidispatch-conditional-impl-not-considered.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
multidispatch-conditional-impl-not-considered.stderr Update tests 2024-02-07 10:42:01 +08:00
multidispatch-convert-ambig-dest.rs
multidispatch-convert-ambig-dest.stderr
multidispatch-infer-convert-target.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
multidispatch-infer-convert-target.stderr Update tests 2024-02-07 10:42:01 +08:00
mutual-recursion-issue-75860.rs
mutual-recursion-issue-75860.stderr On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
no_send-struct.rs
no_send-struct.stderr
no-fallback-multiple-impls.rs
no-fallback-multiple-impls.stderr
non-lifetime-via-dyn-builtin.current.stderr Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
non-lifetime-via-dyn-builtin.next.stderr Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
non-lifetime-via-dyn-builtin.rs Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
normalize-conflicting-impls.rs Fix an ICE in the recursion lint 2024-02-16 09:29:39 +00:00
normalize-conflicting-impls.stderr Fix an ICE in the recursion lint 2024-02-16 09:29:39 +00:00
normalize-supertrait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
not-suggest-non-existing-fully-qualified-path.rs
not-suggest-non-existing-fully-qualified-path.stderr
object-does-not-impl-trait.rs
object-does-not-impl-trait.stderr
object-one-type-two-traits.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
objects-owned-object-borrowed-method-headerless.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
on_unimplemented_long_types.rs Display short types for unimplemented trait 2024-02-28 14:13:42 +00:00
on_unimplemented_long_types.stderr Avoid silently writing to a file when the involved ty is long 2024-03-01 19:02:34 +00:00
operator-overloading-issue-52025.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
overflow-computing-ambiguity.rs Discard overflow obligations in impl_may_apply 2024-04-07 23:21:45 -04:00
overflow-computing-ambiguity.stderr Discard overflow obligations in impl_may_apply 2024-04-07 23:21:45 -04:00
overlap-not-permitted-for-builtin-trait.rs
overlap-not-permitted-for-builtin-trait.stderr
overlap-permitted-for-marker-traits.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
param-without-lifetime-constraint.rs
param-without-lifetime-constraint.stderr
parameterized-with-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pointee-deduction.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pointee-normalize-equate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pointee-tail-is-generic-errors.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pointee-tail-is-generic-errors.stderr
pointee-tail-is-generic.rs Mark some next-solver-behavior tests explicitly with revisions 2024-03-10 23:23:46 -04:00
pred-known-to-hold-modulo-regions-unsized-tail.rs add non-regression test for issue 123275 2024-04-06 23:25:58 +00:00
principal-less-objects.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
privacy.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
project-modulo-regions.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
project-modulo-regions.with_clause.stderr
project-modulo-regions.without_clause.stderr
question-mark-result-err-mismatch.rs
question-mark-result-err-mismatch.stderr Use TraitRef::to_string sorting in favor of TraitRef::ord, as the latter compares DefIds which we need to avoid 2024-03-27 14:02:15 +00:00
region-pointer-simple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
resolution-in-overloaded-op.rs
resolution-in-overloaded-op.stderr
safety-fn-body.rs
safety-fn-body.stderr
safety-inherent-impl.rs
safety-inherent-impl.stderr
safety-ok-cc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
safety-ok.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
safety-trait-impl-cc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
safety-trait-impl-cc.stderr
safety-trait-impl.rs
safety-trait-impl.stderr
self-without-lifetime-constraint.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
self-without-lifetime-constraint.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
span-bug-issue-121414.rs make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
span-bug-issue-121414.stderr make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
stack-error-order-dependence-2.rs Add regression tests for 123303 2024-03-31 21:03:59 -04:00
stack-error-order-dependence.rs Add regression tests for 123303 2024-03-31 21:03:59 -04:00
static-method-generic-inference.rs
static-method-generic-inference.stderr
static-method-overwriting.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
static-outlives-a-where-clause.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
staticness-mismatch.rs
staticness-mismatch.stderr
subtype-recursion-limit.rs change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
subtype-recursion-limit.stderr change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
suggest-fully-qualified-closure.rs Replace closures with _ when suggesting fully qualified path for method call 2024-03-21 00:07:44 +00:00
suggest-fully-qualified-closure.stderr Replace closures with _ when suggesting fully qualified path for method call 2024-03-21 00:07:44 +00:00
suggest-fully-qualified-path-with-adjustment.rs
suggest-fully-qualified-path-with-adjustment.stderr
suggest-fully-qualified-path-without-adjustment.rs
suggest-fully-qualified-path-without-adjustment.stderr
suggest-where-clause.rs
suggest-where-clause.stderr On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
superdefault-generics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
syntax-polarity.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
syntax-trait-polarity.rs
syntax-trait-polarity.stderr
test-2.rs
test-2.stderr
test.rs
test.stderr
to-str.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
track-obligations.rs
track-obligations.stderr Use only one label for multiple unsatisfied bounds on type (typeck) 2024-01-26 20:47:19 +00:00
trait-object-lifetime-default-note.rs
trait-object-lifetime-default-note.stderr
trait-or-new-type-instead.rs
trait-or-new-type-instead.stderr
trait-selection-ice-84727.rs add test for ICE Where clause Binder(..) was applicable to Obligation(..) but now is not 2024-03-25 20:20:01 +01:00
trait-selection-ice-84727.stderr add test for ICE Where clause Binder(..) was applicable to Obligation(..) but now is not 2024-03-25 20:20:01 +01:00
trivial_impl2.rs
trivial_impl2.stderr
trivial_impl3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trivial_impl3.stderr
trivial_impl4.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trivial_impl4.stderr
trivial_impl_sized.rs
trivial_impl_sized.stderr
trivial_impl.rs
trivial_impl.stderr
typeclasses-eq-example-static.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
typeclasses-eq-example.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ufcs-object.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unsend-future.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unsend-future.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
unspecified-self-in-trait-ref.rs
unspecified-self-in-trait-ref.stderr Be less confident when dyn suggestion is not checked for object safety 2024-02-09 20:47:50 -08:00
upcast_soundness_bug.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-before-def.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
vtable-res-trait-param.rs
vtable-res-trait-param.stderr
well-formed-recursion-limit.rs change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
well-formed-recursion-limit.stderr change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
where-clause-vs-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
with-bounds-default.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
with-dst.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
wrong-mul-method-signature.rs
wrong-mul-method-signature.stderr