rust/tests/ui/traits/new-solver
bors 1d6f05fd37 Auto merge of #116439 - compiler-errors:on-unimplemented, r=davidtwco
Pretty print `Fn` traits in `rustc_on_unimplemented`

I don't think that users really ever should need to think about `Fn*` traits' tupled args for a simple trait error.

r? diagnostics
2023-11-03 06:08:03 +00:00
..
assembly Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
coherence Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
cycles Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
generalize Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
overflow Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
alias_eq_cant_be_furthur_normalized.rs Add tests 2023-02-10 14:56:28 +00:00
alias_eq_dont_use_normalizes_to_if_substs_eq.rs Strongly prefer alias and param-env bounds 2023-05-25 03:35:14 +00:00
alias_eq_simple.rs Add tests 2023-02-10 14:56:28 +00:00
alias_eq_substs_eq_not_intercrate.rs update tests 2023-07-03 09:12:15 +02:00
alias_eq_substs_eq_not_intercrate.stderr update tests 2023-09-21 08:17:58 +02:00
alias-bound-preference.rs add test for incomplete alias bound preference 2023-07-13 13:43:49 +02:00
alias-bound-unsound.rs Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
alias-bound-unsound.stderr Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
alias-eq-in-canonical-response.rs Return nested obligations from canonical response var unification 2023-03-23 19:00:04 +00:00
alias-sub.rs Include relation direction in AliasEq predicate 2023-03-23 05:56:27 +00:00
array-default.rs Normalize anon consts in new solver 2023-06-02 22:07:57 +00:00
async.fail.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
async.rs update tests 2023-07-03 09:12:15 +02:00
auto-with-drop_tracking_mir.fail.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
auto-with-drop_tracking_mir.rs Bless tests. 2023-09-23 13:47:30 +00:00
borrowck-error.rs Clone region var origins instead of taking in borrowck 2023-04-21 00:31:43 +00:00
borrowck-error.stderr Clone region var origins instead of taking in borrowck 2023-04-21 00:31:43 +00:00
builtin-fn-must-return-sized.rs Check that built-in callable types validate their output type is Sized (in new solver) 2023-02-18 19:32:58 +00:00
builtin-fn-must-return-sized.stderr Point at appropriate type parameter in more trait bound errors 2023-08-26 01:07:05 +00:00
canonical-int-var-eq-in-response.rs Drive-by: Add -Ztrait-solver=next to canonical int var test 2023-03-22 18:26:33 +00:00
canonical-ty-var-eq-in-response.rs Canonicalize the ROOT VAR 2023-03-07 17:11:35 +00:00
canonicalize-effect-var.rs Canonicalize effect vars in new solver 2023-09-15 05:11:16 +00:00
cast-checks-handling-projections.rs Commit some tests for the new solver + lazy norm 2023-03-11 23:16:46 +00:00
closure-inference-guidance.rs Closures always implement FnOnce in new solver 2023-03-30 15:11:42 +00:00
closure-substs-ambiguity.rs Instantiate closure synthetic substs in root universe 2023-06-07 18:18:57 +00:00
const-param-placeholder.fail.stderr Don't ICE on placeholder consts in deep reject 2023-03-29 23:28:44 +00:00
const-param-placeholder.rs Don't ICE on placeholder consts in deep reject 2023-03-29 23:28:44 +00:00
coroutine.fail.stderr Rename lots of files that had generator in their name 2023-10-20 21:14:02 +00:00
coroutine.rs Rename lots of files that had generator in their name 2023-10-20 21:14:02 +00:00
deduce-closure-signature-after-normalization.rs Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
deduce-ty-from-object.rs Canonicalize the ROOT VAR 2023-03-07 17:11:35 +00:00
dedup-regions.rs deduplicate identical region constraints 2023-06-08 23:38:07 +00:00
destruct.rs Implement non-const Destruct trait in new solver 2023-03-22 18:22:27 +00:00
dont-coerce-infer-to-dyn.rs Don't select infer -> dyn Trait 2023-08-01 23:12:03 +00:00
dont-elaborate-for-projections.rs Do not consider elaborated projection predicates for objects in new solver 2023-03-29 16:13:05 +00:00
dont-ice-on-assoc-projection.rs Don't ICE on associated type projection without feature gate 2023-09-03 19:43:58 +00:00
dont-ice-on-assoc-projection.stderr Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
dont-loop-fulfill-on-region-constraints.rs Consider a goal as NOT changed if its response is identity modulo regions 2023-07-27 04:00:49 +00:00
dont-normalize-proj-with-error.rs review 2023-07-20 12:01:34 +02:00
dont-normalize-proj-with-error.stderr review 2023-07-20 12:01:34 +02:00
dont-remap-tait-substs.rs Require TAITs to be mentioned in the signatures of functions that register hidden types for them 2023-07-07 13:13:18 +00:00
dont-type_of-tait-in-defining-scope.not_send.stderr Point at appropriate type parameter in more trait bound errors 2023-08-26 01:07:05 +00:00
dont-type_of-tait-in-defining-scope.rs Require TAITs to be mentioned in the signatures of functions that register hidden types for them 2023-07-07 13:13:18 +00:00
dyn-any-dont-prefer-impl.rs add and move trait solver cycle tests 2023-08-10 14:18:31 +02:00
elaborate-item-bounds.rs Use elaborated item bounds for alias types 2023-02-09 17:16:47 +00:00
equating-projection-cyclically.rs update tests 2023-07-03 09:12:15 +02:00
equating-projection-cyclically.stderr update tests 2023-07-03 09:12:15 +02:00
escaping-bound-vars-in-writeback-normalization.rs Allow escaping bound vars during normalize_erasing_regions in new solver 2023-07-14 15:03:21 +00:00
float-canonical.rs canonicalize float var as float in new solver 2023-03-30 01:15:37 +00:00
fn-trait-closure.rs
fn-trait.rs Pretty print Fn traits in rustc_on_unimplemented 2023-11-02 20:57:05 +00:00
fn-trait.stderr Pretty print Fn traits in rustc_on_unimplemented 2023-11-02 20:57:05 +00:00
higher-ranked-dyn-bounds.rs Make higher-ranked projections in object types work in new solver 2023-02-24 02:48:44 +00:00
int-var-alias-eq.rs vars are ? 2023-04-25 19:53:09 +00:00
int-var-is-send.rs Stall auto-trait assembly for int/float vars in new solver 2023-04-10 15:54:14 +00:00
iter-filter-projection.rs Add test for uniquifying regions 2023-04-14 03:22:12 +00:00
lazy-nested-obligations-1.rs Commit some tests for the new solver + lazy norm 2023-03-11 23:16:46 +00:00
lazy-nested-obligations-2.rs Resolve target type of coercion 2023-08-07 19:06:18 +00:00
lazy-nested-obligations-3.rs Commit some tests for the new solver + lazy norm 2023-03-11 23:16:46 +00:00
member-constraints-in-root-universe.rs instantiate hidden types in root universe 2023-06-24 13:00:15 +00:00
more-object-bound.rs Do not consider elaborated projection predicates for objects in new solver 2023-03-29 16:13:05 +00:00
more-object-bound.stderr Resolve target type of coercion 2023-08-07 19:06:18 +00:00
negative-coherence-bounds.rs Negative coherence test 2023-04-25 05:02:39 +00:00
negative-coherence-bounds.stderr Negative coherence test 2023-04-25 05:02:39 +00:00
nested-alias-bound.rs Make alias bounds sound in the new solver 2023-05-09 20:37:50 +00:00
nested-obligations-with-bound-vars-gat.rs Add a test that used to take forever to compile 2023-03-13 16:34:16 +00:00
normalize-async-closure-in-trait.rs Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
normalize-param-env-1.rs Commit some tests for the new solver + lazy norm 2023-03-11 23:16:46 +00:00
normalize-param-env-2.rs Commit some tests for the new solver + lazy norm 2023-03-11 23:16:46 +00:00
normalize-param-env-3.rs Commit some tests for the new solver + lazy norm 2023-03-11 23:16:46 +00:00
normalize-rcvr-for-inherent.rs Structurally normalize in the new solver 2023-05-22 21:18:20 +00:00
normalize-unsize-rhs.rs Make sure to detect trait upcasting coercion even after normalization 2023-07-25 15:15:25 +00:00
normalized-const-built-in-op.rs Do fix_*_builtin_expr hacks on the writeback results 2023-06-08 03:21:13 +00:00
normalizes_to_ignores_unnormalizable_candidate.rs Add tests 2023-02-10 14:56:28 +00:00
normalizes_to_ignores_unnormalizable_candidate.self_infer.stderr Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
object-soundness-requires-generalization.rs Bubble up nested goals from equation in predicates_for_object_candidate 2023-07-29 05:55:03 +00:00
object-unsafety.rs update tests 2023-07-03 09:12:15 +02:00
object-unsafety.stderr Tweak wording of type errors involving type params 2023-10-18 23:53:18 +00:00
opportunistic-region-resolve.rs opportunistically resolve regions 2023-06-13 22:10:51 +00:00
param-candidate-doesnt-shadow-project.rs Add a couple random projection tests 2023-02-10 18:14:09 +00:00
param-discr-kind.rs Don't ICE on DiscriminantKind projection in new solver 2023-03-30 00:53:16 +00:00
pointee.rs Check pointee metadata correctly in ui test 2023-03-30 00:53:17 +00:00
pointer-like.rs Enforce that PointerLike requires a pointer-like ABI 2023-04-08 21:11:16 +00:00
pointer-like.stderr Enforce that PointerLike requires a pointer-like ABI 2023-04-08 21:11:16 +00:00
prefer-candidate-no-constraints.rs prioritize param-env candidates 2023-04-10 09:16:33 +02:00
prefer-param-env-on-ambiguity.rs prioritize param-env candidates 2023-04-10 09:16:33 +02:00
projection-discr-kind.rs Don't ICE on DiscriminantKind projection in new solver 2023-03-30 00:53:16 +00:00
projection-discr-kind.stderr Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
slice-match-byte-lit.rs Structurally normalize again for byte string lit pat checking 2023-07-06 07:11:25 +00:00
specialization-transmute.rs Use the normalizing param-env always in check_type_bounds 2023-11-02 20:47:05 +00:00
specialization-transmute.stderr Use the normalizing param-env always in check_type_bounds 2023-11-02 20:47:05 +00:00
specialization-unconstrained.rs Use the normalizing param-env always in check_type_bounds 2023-11-02 20:47:05 +00:00
specialization-unconstrained.stderr Use the normalizing param-env always in check_type_bounds 2023-11-02 20:47:05 +00:00
stall-num-var-auto-trait.fallback.stderr Stall auto-trait assembly for int/float vars in new solver 2023-04-10 15:54:14 +00:00
stall-num-var-auto-trait.rs Stall auto-trait assembly for int/float vars in new solver 2023-04-10 15:54:14 +00:00
structural-resolve-field.rs Normalize anon consts in new solver 2023-06-02 22:07:57 +00:00
tait-eq-proj-2.rs Require TAITs to be mentioned in the signatures of functions that register hidden types for them 2023-07-07 13:13:18 +00:00
tait-eq-proj.rs Require TAITs to be mentioned in the signatures of functions that register hidden types for them 2023-07-07 13:13:18 +00:00
tait-eq-tait.rs Require TAITs to be mentioned in the signatures of functions that register hidden types for them 2023-07-07 13:13:18 +00:00
temporary-ambiguity.rs Adjust tests for new drop and forget lints 2023-05-10 19:36:02 +02:00
trait-upcast-lhs-needs-normalization.rs Make sure to detect trait upcasting coercion even after normalization 2023-07-25 15:15:25 +00:00
try-example.rs Commit some new solver tests 2023-02-27 05:23:26 +00:00
two-projection-param-candidates-are-ambiguous.rs vars are ? 2023-04-25 19:53:09 +00:00
two-projection-param-candidates-are-ambiguous.stderr Point at appropriate type parameter in more trait bound errors 2023-08-26 01:07:05 +00:00
unevaluated-const-impl-trait-ref.fails.stderr Normalize anon consts in new solver 2023-06-02 22:07:57 +00:00
unevaluated-const-impl-trait-ref.rs Normalize anon consts in new solver 2023-06-02 22:07:57 +00:00
unsafe-auto-trait-impl.rs Disqualify auto-trait builtin impl in new solver if impl exists 2023-02-09 17:23:50 +00:00
unsize-although-ambiguous.rs Implement selection for unsize for better coercion behavior 2023-07-08 03:41:22 +00:00
unsize-good.rs
upcast-right-substs.rs Trait upcasting support in new solver 2023-01-30 19:11:01 +00:00
upcast-wrong-substs.rs Trait upcasting support in new solver 2023-01-30 19:11:01 +00:00
upcast-wrong-substs.stderr Trait upcasting support in new solver 2023-01-30 19:11:01 +00:00
winnow-specializing-impls.rs Winnow specializing impls 2023-07-05 06:18:48 +00:00