rust/tests/ui/const-generics
lcnr abcaf30f9b implement ConstEvaluatable goals in new solver
we don't yet handle `generic_const_exprs`, someone else
can do that :3
2023-07-04 15:54:18 +02:00
..
adt_const_params Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
array-impls
auxiliary
backcompat
defaults implement ConstEvaluatable goals in new solver 2023-07-04 15:54:18 +02:00
early
generic_arg_infer properly check associated consts for infer placeholders 2023-06-11 00:27:03 +00:00
generic_const_exprs Fix type privacy lints error message 2023-06-29 16:24:07 +03:00
infer
issues Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
late-bound-vars improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
min_const_generics improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
occurs-check
parser-error-recovery
std Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
type-dependent
apit-with-const-param.rs
arg-in-pat-1.rs
arg-in-pat-2.rs
arg-in-pat-3.rs
argument_order.rs
argument_order.stderr
array-wrapper-struct-ctor.rs
assoc_const_as_type_argument.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
assoc_const_as_type_argument.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
assoc_const_eq_diagnostic.rs
assoc_const_eq_diagnostic.stderr
associated-type-bound-fail.rs
associated-type-bound-fail.stderr
associated-type-bound.rs
bad-const-generic-exprs.rs
bad-const-generic-exprs.stderr
bad-generic-in-copy-impl.rs
bad-generic-in-copy-impl.stderr
bad-subst-const-kind.rs
bad-subst-const-kind.stderr
broken-mir-1.rs
broken-mir-2.rs
cannot-infer-type-for-const-param.rs
coerce_unsized_array.rs
concrete-const-as-fn-arg.rs
concrete-const-impl-method.rs
condition-in-trait-const-arg.rs
const_trait_fn-issue-88433.rs
const-arg-in-const-arg.min.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
const-arg-in-const-arg.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
const-arg-in-fn.rs
const-arg-type-arg-misordered.rs
const-arg-type-arg-misordered.stderr
const-argument-cross-crate-mismatch.rs
const-argument-cross-crate-mismatch.stderr
const-argument-cross-crate.rs
const-argument-if-length.full.stderr change std::marker::Sized to just Sized 2023-06-15 12:01:38 +02:00
const-argument-if-length.min.stderr change std::marker::Sized to just Sized 2023-06-15 12:01:38 +02:00
const-argument-if-length.rs
const-argument-non-static-lifetime.min.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
const-argument-non-static-lifetime.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
const-fn-with-const-param.rs
const-generic-default-wont-borrowck.rs
const-generic-default-wont-borrowck.stderr
const-generic-function.rs
const-generic-function.stderr
const-generic-type_name.rs
const-param-after-const-literal-arg.rs
const-param-before-other-params.rs
const-param-before-other-params.stderr
const-param-elided-lifetime.full.stderr
const-param-elided-lifetime.min.stderr
const-param-elided-lifetime.rs
const-param-in-async.rs
const-param-type-depends-on-const-param.full.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
const-param-type-depends-on-const-param.min.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
const-param-type-depends-on-const-param.rs
const-param-type-depends-on-type-param-ungated.rs
const-param-type-depends-on-type-param-ungated.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
const-param-type-depends-on-type-param.full.stderr remove has_error_field helper method 2023-06-06 09:37:30 +02:00
const-param-type-depends-on-type-param.min.stderr remove has_error_field helper method 2023-06-06 09:37:30 +02:00
const-param-type-depends-on-type-param.rs remove has_error_field helper method 2023-06-06 09:37:30 +02:00
const-param-with-additional-obligations.rs Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
const-param-with-additional-obligations.stderr Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
const-parameter-uppercase-lint.rs
const-parameter-uppercase-lint.stderr
core-types.rs
cross_crate_complex.rs
deref-into-array-generic.rs
different_generic_args_array.rs
different_generic_args_array.stderr
different_generic_args.full.stderr
different_generic_args.min.stderr
different_generic_args.rs
dont-evaluate-array-len-on-err-1.rs
dont-evaluate-array-len-on-err-1.stderr
dyn-supertraits.rs
ensure_is_evaluatable.rs
ensure_is_evaluatable.stderr
enum-variants.rs
exhaustive-value.rs
exhaustive-value.stderr
expose-default-substs-param-env.rs
float-generic.adt_const_params.stderr Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
float-generic.rs
float-generic.simple.stderr
fn_with_two_const_inputs.rs
fn_with_two_const_inputs.stderr
fn_with_two_same_const_inputs.rs
fn-const-param-call.full.stderr
fn-const-param-call.min.stderr
fn-const-param-call.rs
fn-const-param-infer.full.stderr
fn-const-param-infer.min.stderr
fn-const-param-infer.rs
forbid-non-structural_match-types.rs Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
forbid-non-structural_match-types.stderr Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
foreign-item-const-parameter.rs
foreign-item-const-parameter.stderr
generic-param-mismatch.rs
generic-param-mismatch.stderr
ice-68875.rs
ice-68875.stderr
ice-const-generic-function-return-ty.rs
ice-const-generic-function-return-ty.stderr
impl-const-generic-struct.rs
incorrect-number-of-const-args.rs
incorrect-number-of-const-args.stderr
infer_arg_from_pat.rs
infer_arr_len_from_pat.rs
inhabited-assoc-ty-ice-1.rs
inhabited-assoc-ty-ice-2.rs
integer-literal-generic-arg-in-where-clause.rs
intrinsics-type_name-as-const-argument.min.stderr
intrinsics-type_name-as-const-argument.rs
invalid-const-arg-for-type-param.rs
invalid-const-arg-for-type-param.stderr
invalid-constant-in-args.rs
invalid-constant-in-args.stderr
invalid-enum.rs Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
invalid-enum.stderr Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
invariant.rs
invariant.stderr
issue-46511.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
issue-46511.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
issue-66451.rs Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
issue-66451.stderr Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
issue-70408.rs
issue-80471.rs Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
issue-80471.stderr Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
issue-93647.rs
issue-93647.stderr
issue-97007.rs
issue-102124.rs
issue-105689.rs
issue-106419-struct-with-multiple-const-params.rs
issue-112505-overflow.rs Fix the overflow issue for transmute_generic_consts 2023-06-11 16:12:59 +08:00
issue-112505-overflow.stderr Don't ICE on unnormalized struct tail in layout computation 2023-06-19 20:00:41 +00:00
legacy-const-generics-bad.rs
legacy-const-generics-bad.stderr
legacy-const-generics.rs
nested-type.full.stderr
nested-type.min.stderr
nested-type.rs
outer-lifetime-in-const-generic-default.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
outer-lifetime-in-const-generic-default.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
overlapping_impls.rs Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
params-in-ct-in-ty-param-lazy-norm.full.stderr
params-in-ct-in-ty-param-lazy-norm.min.stderr
params-in-ct-in-ty-param-lazy-norm.rs
parent_generics_of_encoding_impl_trait.rs
parent_generics_of_encoding_impl_trait.stderr
parent_generics_of_encoding.rs
projection-as-arg-const.rs
projection-as-arg-const.stderr
promotion.rs
raw-ptr-const-param-deref.full.stderr
raw-ptr-const-param-deref.min.stderr
raw-ptr-const-param-deref.rs
raw-ptr-const-param.full.stderr
raw-ptr-const-param.min.stderr
raw-ptr-const-param.rs
slice-const-param-mismatch.full.stderr
slice-const-param-mismatch.min.stderr
slice-const-param-mismatch.rs
slice-const-param.rs
sneaky-array-repeat-expr.rs check array type of repeat exprs is wf 2023-05-04 11:22:40 +01:00
sneaky-array-repeat-expr.stderr check array type of repeat exprs is wf 2023-05-04 11:22:40 +01:00
struct-with-invalid-const-param.rs
struct-with-invalid-const-param.stderr
suggest_const_for_array.rs
suggest_const_for_array.stderr
trait-const-args.rs
transmute_no_gate.rs
transmute_no_gate.stderr
transmute-const-param-static-reference.min.stderr
transmute-const-param-static-reference.rs
transmute-fail.rs
transmute-fail.stderr Don't ICE on unnormalized struct tail in layout computation 2023-06-19 20:00:41 +00:00
transmute.rs
transparent-maybeunit-array-wrapper.rs
try_unify_ignore_lifetimes.rs
two_matching_preds.rs
type_mismatch.rs
type_mismatch.stderr
type_not_in_scope.rs
type_not_in_scope.stderr
type_of_anon_const.rs
type-after-const-ok.rs
types-mismatch-const-args.full.stderr
types-mismatch-const-args.min.stderr
types-mismatch-const-args.rs
unify_with_nested_expr.rs
unify_with_nested_expr.stderr
uninferred-consts-during-codegen-1.rs
uninferred-consts-during-codegen-2.rs
unknown_adt.rs
unknown_adt.stderr
unused_braces.fixed
unused_braces.full.fixed
unused_braces.min.fixed
unused_braces.rs
unused_braces.stderr
unused-const-param.rs
unused-type-param-suggestion.rs
unused-type-param-suggestion.stderr
variant-discrimiant-no-generics.full.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
variant-discrimiant-no-generics.min.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
variant-discrimiant-no-generics.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
where-clauses.rs
wrong-normalization.rs
wrong-normalization.stderr