rust/tests/ui/const-generics/generic_const_exprs
Noah Lev e0bd01167e Re-enable ConstArgKind::Path lowering by default
...and remove the `const_arg_path` feature gate as a result. It was only
a stopgap measure to fix the regression that the new lowering introduced
(which should now be fixed by this PR).
2024-09-12 13:56:01 -04:00
..
assoc_const_unification Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
auxiliary Remove some unnecessary allow(incomplete_features) 2024-03-11 19:42:04 +00:00
const_kind_expr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
abstract-const-as-cast-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
abstract-const-as-cast-2.fixed Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
abstract-const-as-cast-2.rs Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
abstract-const-as-cast-2.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
abstract-const-as-cast-3.rs
abstract-const-as-cast-3.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
abstract-const-as-cast-4.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
abstract-consts-as-cast-5.rs
abstract-consts-as-cast-5.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
adt_wf_hang.rs add test 2024-07-02 17:07:21 +01:00
adt_wf_hang.stderr add test 2024-07-02 17:07:21 +01:00
array-size-in-generic-struct-param.full.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
array-size-in-generic-struct-param.min.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
array-size-in-generic-struct-param.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-consts.rs Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
cannot-convert-refree-ice-114463.rs add test for ICE caused by using feature(generic_const_exprs) #114463 2024-04-21 22:00:38 +02:00
cannot-convert-refree-ice-114463.stderr add test for ICE caused by using feature(generic_const_exprs) #114463 2024-04-21 22:00:38 +02:00
closures.rs
closures.stderr
const_eval_resolve_canonical.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-block-is-poly.rs Fix tests and bless 2024-04-24 13:12:33 +01:00
const-block-is-poly.stderr Fix tests and bless 2024-04-24 13:12:33 +01:00
convert-refree-region-vid-ice-114464.rs add test for #114464 2024-03-24 10:09:56 +01:00
convert-refree-region-vid-ice-114464.stderr add test for #114464 2024-03-24 10:09:56 +01:00
cross_crate_predicate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cross_crate_predicate.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
cross_crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dependence_lint.full.stderr
dependence_lint.gce.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
dependence_lint.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
different-fn.rs
different-fn.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
division.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dont-eagerly-error-in-is-const-evaluatable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
double-opaque-parent-predicates.rs Actually just remove the special case altogether 2024-05-24 13:16:06 -04:00
double-opaque-parent-predicates.stderr Actually just remove the special case altogether 2024-05-24 13:16:06 -04:00
drop_impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
elaborate-trait-pred.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
error_in_ty.rs Bless tests and handle tests/crashes 2024-06-05 22:25:42 +01:00
error_in_ty.stderr Bless tests and handle tests/crashes 2024-06-05 22:25:42 +01:00
eval-privacy.rs Bless tests and handle tests/crashes 2024-06-05 22:25:42 +01:00
eval-privacy.stderr Bless tests and handle tests/crashes 2024-06-05 22:25:42 +01:00
eval-try-unify.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
eval-try-unify.stderr
evaluated-to-ambig.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
expected-type-of-closure-body-to-be-a-closure-or-coroutine-ice-113776.rs add test for ice expected-type-of-closure-body-to-be-a-closure-or-coroutine-ice-113776.stderr 2024-04-28 10:23:11 +02:00
expected-type-of-closure-body-to-be-a-closure-or-coroutine-ice-113776.stderr Better suggestion span for missing type parameter 2024-07-04 02:41:13 +00:00
failed-to-normalize-ice-issue-88421.rs add issue numbers via // issue: rust-lang/rust#ISSUE_NUM directive 2024-03-24 09:34:11 +01:00
failed-to-resolve-instance-ice-111667.rs add test for ICE failed to resolve instance for <[f32; 2] as CrossProduct 2024-04-28 10:23:10 +02:00
feature-gate-generic_const_exprs.rs
feature-gate-generic_const_exprs.stderr
fn_call.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
from-sig-fail.rs
from-sig-fail.stderr
from-sig.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
function-call.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
function-call.stderr
ice-generics_of-no-entry-found-for-key-113017.rs address review comments 2024-03-22 11:35:31 +01:00
ice-generics_of-no-entry-found-for-key-113017.stderr address review comments 2024-03-22 11:35:31 +01:00
ice-predicates-of-no-entry-found-for-key-119275.rs Detect non-lifetime binder params shadowing item params 2024-07-29 14:26:21 -04:00
ice-predicates-of-no-entry-found-for-key-119275.stderr Detect non-lifetime binder params shadowing item params 2024-07-29 14:26:21 -04:00
impl-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
infer-too-generic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inline-const-in-const-generic-defaults.rs Fix tests and bless 2024-04-24 13:12:33 +01:00
issue-62504.full.stderr Const generic parameters aren't bounds, even if we end up erroring because of the bound that binds the parameter's type 2024-06-19 14:58:29 +00:00
issue-62504.min.stderr Const generic parameters aren't bounds, even if we end up erroring because of the bound that binds the parameter's type 2024-06-19 14:58:29 +00:00
issue-62504.rs Taint infcx when reporting errors 2024-06-19 04:41:56 +00:00
issue-69654.rs
issue-69654.stderr
issue-72787.min.stderr
issue-72787.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-72819-generic-in-const-eval.full.stderr
issue-72819-generic-in-const-eval.min.stderr
issue-72819-generic-in-const-eval.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-73298.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-73899.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-74634.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-74713.rs
issue-74713.stderr
issue-76595.rs
issue-76595.stderr
issue-79518-default_trait_method_normalization.rs
issue-79518-default_trait_method_normalization.stderr
issue-80561-incorrect-param-env.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-80742.rs Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
issue-80742.stderr interpret: move nullary-op evaluation into operator.rs 2024-08-05 22:42:34 +02:00
issue-82268.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-83765.rs
issue-83765.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
issue-83972.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-84408.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-84669.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-85848.rs
issue-85848.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
issue-86710.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-89851.rs Split part of adt_const_params into unsized_const_params 2024-07-17 11:01:29 +01:00
issue-90847.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-94287.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-94287.stderr
issue-94293.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-96699.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97047-ice-1.rs Split part of adt_const_params into unsized_const_params 2024-07-17 11:01:29 +01:00
issue-97047-ice-1.stderr Split part of adt_const_params into unsized_const_params 2024-07-17 11:01:29 +01:00
issue-97047-ice-2.rs Split part of adt_const_params into unsized_const_params 2024-07-17 11:01:29 +01:00
issue-97047-ice-2.stderr Split part of adt_const_params into unsized_const_params 2024-07-17 11:01:29 +01:00
issue-99647.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-99705.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-100217.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-100360.rs Split part of adt_const_params into unsized_const_params 2024-07-17 11:01:29 +01:00
issue-102074.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102768.rs
issue-102768.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
issue-105257.rs
issue-105257.stderr
issue-105608.rs
issue-105608.stderr Do not underline suggestions for code that is already there 2024-08-01 18:53:42 +00:00
issue-109141.rs register opaques that reference errors 2024-03-20 17:30:19 +00:00
issue-109141.stderr Bless test fallout 2024-08-17 12:43:25 -04:00
less_than.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
let-bindings.rs
let-bindings.stderr
mismatched-gat-subst-kind.rs
mismatched-gat-subst-kind.stderr
needs_where_clause.rs
needs_where_clause.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
nested_uneval_unification-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nested_uneval_unification-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nested-abstract-consts-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nested-abstract-consts-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no_dependence.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no_where_clause.rs WF-check struct field types at construction site 2024-08-05 17:37:12 -07:00
no_where_clause.stderr WF-check struct field types at construction site 2024-08-05 17:37:12 -07:00
no-entry-found-for-key-ice-gce-nlb-113133.rs Just totally fully deny late-bound consts 2024-07-20 19:45:24 -04:00
no-entry-found-for-key-ice-gce-nlb-113133.stderr Just totally fully deny late-bound consts 2024-07-20 19:45:24 -04:00
non_local_anon_const_diagnostics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non_local_anon_const_diagnostics.stderr
normed_to_param_is_evaluatable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
object-safety-err-ret.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-err-ret.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
object-safety-err-where-bounds.rs Make WHERE_CLAUSES_OBJECT_SAFETY a regular object safety violation 2024-06-03 09:49:04 -04:00
object-safety-err-where-bounds.stderr Make WHERE_CLAUSES_OBJECT_SAFETY a regular object safety violation 2024-06-03 09:49:04 -04:00
object-safety-ok-infer-err.rs Taint infcx when reporting errors 2024-06-19 04:41:56 +00:00
object-safety-ok-infer-err.stderr Const generic parameters aren't bounds, even if we end up erroring because of the bound that binds the parameter's type 2024-06-19 14:58:29 +00:00
object-safety-ok.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
obligation-cause.rs
obligation-cause.stderr
opaque_type.rs Automatically taint InferCtxt when errors are emitted 2024-06-26 16:01:45 +00:00
opaque_type.stderr Automatically taint InferCtxt when errors are emitted 2024-06-26 16:01:45 +00:00
poly-const-uneval-ice-106423.rs add test for #106423 2024-03-23 12:32:32 +01:00
simple_fail.rs
simple_fail.stderr
single-satisfied-ConstEvaluatable-in-probe.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
subexprs_are_const_evalutable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ty-alias-substitution.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type_mismatch.rs Re-enable ConstArgKind::Path lowering by default 2024-09-12 13:56:01 -04:00
type_mismatch.stderr Re-enable ConstArgKind::Path lowering by default 2024-09-12 13:56:01 -04:00
type-alias-bounds.neg.stderr Suppress lint type_alias_bounds for ty aliases containing const projections under GCE 2024-07-23 01:26:26 +02:00
type-alias-bounds.rs Suppress lint type_alias_bounds for ty aliases containing const projections under GCE 2024-07-23 01:26:26 +02:00
typeid-equality-by-subtyping.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
typeid-equality-by-subtyping.stderr Make infer higher ranked equate use bidirectional subtyping in invariant context 2024-02-29 15:27:56 -03:00
unevaluated-const-ice-119731.rs Re-enable ConstArgKind::Path lowering by default 2024-09-12 13:56:01 -04:00
unevaluated-const-ice-119731.stderr Re-enable ConstArgKind::Path lowering by default 2024-09-12 13:56:01 -04:00
unify-op-with-fn-call.rs Migrate tests to use -Znext-solver 2024-06-30 17:08:45 +00:00
unify-op-with-fn-call.stderr Migrate tests to use -Znext-solver 2024-06-30 17:08:45 +00:00
unknown-alias-defkind-anonconst-ice-116710.rs Revert 'Stabilize -Znext-solver=coherence' 2024-09-11 17:57:04 -04:00
unknown-alias-defkind-anonconst-ice-116710.stderr Revert 'Stabilize -Znext-solver=coherence' 2024-09-11 17:57:04 -04:00
unop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unresolved_lifetimes_error.rs
unresolved_lifetimes_error.stderr
unused_expr.rs
unused_expr.stderr
unused-complex-default-expr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00