rust/src/test/ui/const-generics
2021-02-03 22:09:37 -08:00
..
array-impls Stabilize by-value [T; N] iterator core::array::IntoIter 2020-12-29 09:16:46 +01:00
auxiliary update tests 2020-12-26 18:24:10 +01:00
const_evaluatable_checked Miscellaneous small diagnostics cleanup 2021-02-03 22:09:37 -08:00
defaults Take type defaults into account in suggestions to reorder generic parameters 2020-12-30 16:00:25 -05:00
infer update tests 2020-12-26 18:24:10 +01:00
issues Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
late-bound-vars correctly deal with late-bound lifetimes in anon consts 2021-01-16 19:27:42 +01:00
min_const_generics fixed const_generics error help 2021-01-05 00:01:48 -07:00
occurs-check update tests 2020-12-26 18:24:10 +01:00
std fixed const_generics error help 2021-01-05 00:01:48 -07:00
type-dependent fixed const_generics error help 2021-01-05 00:01:48 -07:00
apit-with-const-param.rs update tests 2020-12-26 18:24:10 +01:00
arg-in-pat-1.rs support pattern as const parents in type_of 2020-12-31 14:10:49 +01:00
arg-in-pat-2.rs support pattern as const parents in type_of 2020-12-31 14:10:49 +01:00
arg-in-pat-3.rs support pattern as const parents in type_of 2020-12-31 14:10:49 +01:00
argument_order.full.stderr update tests 2020-12-26 18:24:10 +01:00
argument_order.min.stderr update tests 2020-12-26 18:24:10 +01:00
argument_order.rs update tests 2020-12-26 18:24:10 +01:00
array-size-in-generic-struct-param.full.stderr update tests 2020-12-26 18:24:10 +01:00
array-size-in-generic-struct-param.min.stderr fixed const_generics error help 2021-01-05 00:01:48 -07:00
array-size-in-generic-struct-param.rs update tests 2020-12-26 18:24:10 +01:00
array-wrapper-struct-ctor.rs update tests 2020-12-26 18:24:10 +01:00
associated-type-bound-fail.full.stderr update tests 2020-12-26 18:24:10 +01:00
associated-type-bound-fail.min.stderr update tests 2020-12-26 18:24:10 +01:00
associated-type-bound-fail.rs update tests 2020-12-26 18:24:10 +01:00
associated-type-bound.rs update tests 2020-12-26 18:24:10 +01:00
broken-mir-1.rs update tests 2020-12-26 18:24:10 +01:00
broken-mir-2.rs update tests 2020-12-26 18:24:10 +01:00
cannot-infer-type-for-const-param.rs update tests 2020-12-26 18:24:10 +01:00
closing-args-token.full.stderr update tests 2020-12-26 18:24:10 +01:00
closing-args-token.min.stderr update tests 2020-12-26 18:24:10 +01:00
closing-args-token.rs update tests 2020-12-26 18:24:10 +01:00
coerce_unsized_array.rs update tests 2020-12-26 18:24:10 +01:00
concrete-const-as-fn-arg.rs update tests 2020-12-26 18:24:10 +01:00
concrete-const-impl-method.rs update tests 2020-12-26 18:24:10 +01:00
condition-in-trait-const-arg.rs update tests 2020-12-26 18:24:10 +01:00
const-arg-in-const-arg.min.stderr update tests 2020-12-26 18:24:10 +01:00
const-arg-in-const-arg.rs update tests 2020-12-26 18:24:10 +01:00
const-arg-in-fn.rs update tests 2020-12-26 18:24:10 +01:00
const-arg-type-arg-misordered.full.stderr update tests 2020-12-26 18:24:10 +01:00
const-arg-type-arg-misordered.min.stderr update tests 2020-12-26 18:24:10 +01:00
const-arg-type-arg-misordered.rs update tests 2020-12-26 18:24:10 +01:00
const-argument-cross-crate-mismatch.full.stderr
const-argument-cross-crate-mismatch.min.stderr
const-argument-cross-crate-mismatch.rs
const-argument-cross-crate.rs
const-argument-if-length.full.stderr update tests 2020-12-26 18:24:10 +01:00
const-argument-if-length.min.stderr update tests 2020-12-26 18:24:10 +01:00
const-argument-if-length.rs update tests 2020-12-26 18:24:10 +01:00
const-argument-non-static-lifetime.rs
const-expression-parameter.full.stderr update tests 2020-12-26 18:24:10 +01:00
const-expression-parameter.min.stderr update tests 2020-12-26 18:24:10 +01:00
const-expression-parameter.rs update tests 2020-12-26 18:24:10 +01:00
const-fn-with-const-param.rs update tests 2020-12-26 18:24:10 +01:00
const-generic-array-wrapper.rs update tests 2020-12-26 18:24:10 +01:00
const-generic-type_name.rs update tests 2020-12-26 18:24:10 +01:00
const-param-after-const-literal-arg.rs update tests 2020-12-26 18:24:10 +01:00
const-param-before-other-params.full.stderr update tests 2020-12-26 18:24:10 +01:00
const-param-before-other-params.min.stderr fixed const_generics error help 2021-01-05 00:01:48 -07:00
const-param-before-other-params.rs update tests 2020-12-26 18:24:10 +01:00
const-param-elided-lifetime.full.stderr update tests 2020-12-26 18:24:10 +01:00
const-param-elided-lifetime.min.stderr fixed const_generics error help 2021-01-05 00:01:48 -07:00
const-param-elided-lifetime.rs update tests 2020-12-26 18:24:10 +01:00
const-param-from-outer-fn.full.stderr update tests 2020-12-26 18:24:10 +01:00
const-param-from-outer-fn.min.stderr update tests 2020-12-26 18:24:10 +01:00
const-param-from-outer-fn.rs update tests 2020-12-26 18:24:10 +01:00
const-param-hygiene.rs update tests 2020-12-26 18:24:10 +01:00
const-param-in-async.rs update tests 2020-12-26 18:24:10 +01:00
const-param-in-trait.rs update tests 2020-12-26 18:24:10 +01:00
const-param-shadowing.rs update tests 2020-12-26 18:24:10 +01:00
const-param-shadowing.stderr update tests 2020-12-26 18:24:10 +01:00
const-param-type-depends-on-const-param.full.stderr update tests 2020-12-26 18:24:10 +01:00
const-param-type-depends-on-const-param.min.stderr fixed const_generics error help 2021-01-05 00:01:48 -07:00
const-param-type-depends-on-const-param.rs update tests 2020-12-26 18:24:10 +01:00
const-param-type-depends-on-type-param-ungated.rs update tests 2020-12-26 18:24:10 +01:00
const-param-type-depends-on-type-param-ungated.stderr update tests 2020-12-26 18:24:10 +01:00
const-param-type-depends-on-type-param.full.stderr update tests 2020-12-26 18:24:10 +01:00
const-param-type-depends-on-type-param.min.stderr update tests 2020-12-26 18:24:10 +01:00
const-param-type-depends-on-type-param.rs update tests 2020-12-26 18:24:10 +01:00
const-parameter-uppercase-lint.full.stderr update tests 2020-12-26 18:24:10 +01:00
const-parameter-uppercase-lint.min.stderr update tests 2020-12-26 18:24:10 +01:00
const-parameter-uppercase-lint.rs update tests 2020-12-26 18:24:10 +01:00
const-types.rs update tests 2020-12-26 18:24:10 +01:00
core-types.rs update tests 2020-12-26 18:24:10 +01:00
cross_crate_complex.rs update tests 2020-12-26 18:24:10 +01:00
derive-debug-array-wrapper.rs update tests 2020-12-26 18:24:10 +01:00
different_byref_simple.full.stderr update tests 2020-12-26 18:24:10 +01:00
different_byref_simple.min.stderr update tests 2020-12-26 18:24:10 +01:00
different_byref_simple.rs update tests 2020-12-26 18:24:10 +01:00
different_byref.full.stderr update tests 2020-12-26 18:24:10 +01:00
different_byref.min.stderr fixed const_generics error help 2021-01-05 00:01:48 -07:00
different_byref.rs update tests 2020-12-26 18:24:10 +01:00
dyn-supertraits.rs update tests 2020-12-26 18:24:10 +01:00
exhaustive-value.full.stderr update tests 2020-12-26 18:24:10 +01:00
exhaustive-value.min.stderr update tests 2020-12-26 18:24:10 +01:00
exhaustive-value.rs update tests 2020-12-26 18:24:10 +01:00
fn-const-param-call.full.stderr update tests 2020-12-26 18:24:10 +01:00
fn-const-param-call.min.stderr update tests 2020-12-26 18:24:10 +01:00
fn-const-param-call.rs update tests 2020-12-26 18:24:10 +01:00
fn-const-param-infer.full.stderr update tests 2020-12-26 18:24:10 +01:00
fn-const-param-infer.min.stderr update tests 2020-12-26 18:24:10 +01:00
fn-const-param-infer.rs update tests 2020-12-26 18:24:10 +01:00
fn-taking-const-generic-array.rs update tests 2020-12-26 18:24:10 +01:00
forbid-non-structural_match-types.full.stderr update tests 2020-12-26 18:24:10 +01:00
forbid-non-structural_match-types.min.stderr fixed const_generics error help 2021-01-05 00:01:48 -07:00
forbid-non-structural_match-types.rs update tests 2020-12-26 18:24:10 +01:00
foreign-item-const-parameter.full.stderr update tests 2020-12-26 18:24:10 +01:00
foreign-item-const-parameter.min.stderr update tests 2020-12-26 18:24:10 +01:00
foreign-item-const-parameter.rs update tests 2020-12-26 18:24:10 +01:00
generic-function-call-in-array-length.full.stderr update tests 2020-12-26 18:24:10 +01:00
generic-function-call-in-array-length.min.stderr update tests 2020-12-26 18:24:10 +01:00
generic-function-call-in-array-length.rs update tests 2020-12-26 18:24:10 +01:00
generic-param-mismatch.full.stderr update tests 2020-12-26 18:24:10 +01:00
generic-param-mismatch.min.stderr update tests 2020-12-26 18:24:10 +01:00
generic-param-mismatch.rs update tests 2020-12-26 18:24:10 +01:00
generic-sum-in-array-length.full.stderr update tests 2020-12-26 18:24:10 +01:00
generic-sum-in-array-length.min.stderr update tests 2020-12-26 18:24:10 +01:00
generic-sum-in-array-length.rs update tests 2020-12-26 18:24:10 +01:00
impl-const-generic-struct.rs update tests 2020-12-26 18:24:10 +01:00
impl-trait-with-const-arguments.full.stderr update tests 2020-12-26 18:24:10 +01:00
impl-trait-with-const-arguments.min.stderr update tests 2020-12-26 18:24:10 +01:00
impl-trait-with-const-arguments.rs update tests 2020-12-26 18:24:10 +01:00
incorrect-number-of-const-args.full.stderr Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
incorrect-number-of-const-args.min.stderr Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
incorrect-number-of-const-args.rs Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
infer_arg_from_pat.rs update tests 2020-12-26 18:24:10 +01:00
infer_arr_len_from_pat.rs update tests 2020-12-26 18:24:10 +01:00
integer-literal-generic-arg-in-where-clause.rs update tests 2020-12-26 18:24:10 +01:00
intrinsics-type_name-as-const-argument.full.stderr update tests 2020-12-26 18:24:10 +01:00
intrinsics-type_name-as-const-argument.min.stderr fixed const_generics error help 2021-01-05 00:01:48 -07:00
intrinsics-type_name-as-const-argument.rs update tests 2020-12-26 18:24:10 +01:00
invalid-const-arg-for-type-param.rs Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
invalid-const-arg-for-type-param.stderr Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
invalid-constant-in-args.rs Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
invalid-constant-in-args.stderr Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
invalid-enum.rs improve error message for const ty param mismatch 2020-11-16 16:07:59 +01:00
invalid-enum.stderr improve error message for const ty param mismatch 2020-11-16 16:07:59 +01:00
issue-61522-array-len-succ.full.stderr update tests 2020-12-26 18:24:10 +01:00
issue-61522-array-len-succ.min.stderr update tests 2020-12-26 18:24:10 +01:00
issue-61522-array-len-succ.rs update tests 2020-12-26 18:24:10 +01:00
issue-66596-impl-trait-for-str-const-arg.min.stderr fixed const_generics error help 2021-01-05 00:01:48 -07:00
issue-66596-impl-trait-for-str-const-arg.rs update tests 2020-12-26 18:24:10 +01:00
issue-67375.full.stderr update tests 2020-12-26 18:24:10 +01:00
issue-67375.min.stderr update tests 2020-12-26 18:24:10 +01:00
issue-67375.rs update tests 2020-12-26 18:24:10 +01:00
issue-67945-1.full.stderr update tests 2020-12-26 18:24:10 +01:00
issue-67945-1.min.stderr update tests 2020-12-26 18:24:10 +01:00
issue-67945-1.rs update tests 2020-12-26 18:24:10 +01:00
issue-67945-2.full.stderr update tests 2020-12-26 18:24:10 +01:00
issue-67945-2.min.stderr update tests 2020-12-26 18:24:10 +01:00
issue-67945-2.rs update tests 2020-12-26 18:24:10 +01:00
issue-67945-3.full.stderr update tests 2020-12-26 18:24:10 +01:00
issue-67945-3.min.stderr update tests 2020-12-26 18:24:10 +01:00
issue-67945-3.rs update tests 2020-12-26 18:24:10 +01:00
issue-68104-print-stack-overflow.rs update tests 2020-12-26 18:24:10 +01:00
issue-70180-1-stalled_on.rs update tests 2020-12-26 18:24:10 +01:00
issue-70180-2-stalled_on.rs update tests 2020-12-26 18:24:10 +01:00
issue-71202.rs Add a test for #71202 2021-01-30 21:54:01 +03:00
issue-71986.rs update tests 2020-12-26 18:24:10 +01:00
issue-73899.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-74906.rs update tests 2020-12-26 18:24:10 +01:00
issue-75763.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
macro_rules-braces.full.stderr update tests 2020-12-26 18:24:10 +01:00
macro_rules-braces.min.stderr update tests 2020-12-26 18:24:10 +01:00
macro_rules-braces.rs update tests 2020-12-26 18:24:10 +01:00
mut-ref-const-param-array.rs update tests 2020-12-26 18:24:10 +01:00
nested-type.full.stderr update tests 2020-12-26 18:24:10 +01:00
nested-type.min.stderr fixed const_generics error help 2021-01-05 00:01:48 -07:00
nested-type.rs update tests 2020-12-26 18:24:10 +01:00
params-in-ct-in-ty-param-lazy-norm.full.stderr update tests 2020-12-26 18:24:10 +01:00
params-in-ct-in-ty-param-lazy-norm.min.stderr update tests 2020-12-26 18:24:10 +01:00
params-in-ct-in-ty-param-lazy-norm.rs adjust const generics defaults FIXMEs to the new feature gate 2021-01-01 11:01:01 +01:00
promotion.rs update tests 2020-12-26 18:24:10 +01:00
raw-ptr-const-param-deref.full.stderr update tests 2020-12-26 18:24:10 +01:00
raw-ptr-const-param-deref.min.stderr update tests 2020-12-26 18:24:10 +01:00
raw-ptr-const-param-deref.rs update tests 2020-12-26 18:24:10 +01:00
raw-ptr-const-param.full.stderr update tests 2020-12-26 18:24:10 +01:00
raw-ptr-const-param.min.stderr update tests 2020-12-26 18:24:10 +01:00
raw-ptr-const-param.rs update tests 2020-12-26 18:24:10 +01:00
slice-const-param-mismatch.full.stderr update tests 2020-12-26 18:24:10 +01:00
slice-const-param-mismatch.min.stderr fixed const_generics error help 2021-01-05 00:01:48 -07:00
slice-const-param-mismatch.rs update tests 2020-12-26 18:24:10 +01:00
slice-const-param.min.stderr fixed const_generics error help 2021-01-05 00:01:48 -07:00
slice-const-param.rs update tests 2020-12-26 18:24:10 +01:00
struct-with-invalid-const-param.full.stderr update tests 2020-12-26 18:24:10 +01:00
struct-with-invalid-const-param.min.stderr update tests 2020-12-26 18:24:10 +01:00
struct-with-invalid-const-param.rs update tests 2020-12-26 18:24:10 +01:00
struct-with-invalid-const-param.stderr
suggest_const_for_array.rs Add check for array/usize mismatch in astconv 2021-01-04 10:07:15 +00:00
suggest_const_for_array.stderr Add check for array/usize mismatch in astconv 2021-01-04 10:07:15 +00:00
trait-const-args.rs update tests 2020-12-26 18:24:10 +01:00
transparent-maybeunit-array-wrapper.rs update tests 2020-12-26 18:24:10 +01:00
type_of_anon_const.rs update tests 2020-12-26 18:24:10 +01:00
type-after-const-ok.min.stderr update tests 2020-12-26 18:24:10 +01:00
type-after-const-ok.rs update tests 2020-12-26 18:24:10 +01:00
types-mismatch-const-args.full.stderr update tests 2020-12-26 18:24:10 +01:00
types-mismatch-const-args.min.stderr update tests 2020-12-26 18:24:10 +01:00
types-mismatch-const-args.rs update tests 2020-12-26 18:24:10 +01:00
uninferred-consts-during-codegen-1.rs update tests 2020-12-26 18:24:10 +01:00
uninferred-consts-during-codegen-2.rs update tests 2020-12-26 18:24:10 +01:00
unknown_adt.full.stderr update tests 2020-12-26 18:24:10 +01:00
unknown_adt.min.stderr update tests 2020-12-26 18:24:10 +01:00
unknown_adt.rs update tests 2020-12-26 18:24:10 +01:00
unused_braces.fixed
unused_braces.full.fixed update tests 2020-12-26 18:24:10 +01:00
unused_braces.full.stderr update tests 2020-12-26 18:24:10 +01:00
unused_braces.min.fixed update tests 2020-12-26 18:24:10 +01:00
unused_braces.min.stderr update tests 2020-12-26 18:24:10 +01:00
unused_braces.rs update tests 2020-12-26 18:24:10 +01:00
unused-const-param.rs update tests 2020-12-26 18:24:10 +01:00
wf-misc.full.stderr update tests 2020-12-26 18:24:10 +01:00
wf-misc.min.stderr update tests 2020-12-26 18:24:10 +01:00
wf-misc.rs update tests 2020-12-26 18:24:10 +01:00
where-clauses.rs update tests 2020-12-26 18:24:10 +01:00