rust/src/test/ui/const-generics
2021-11-20 19:19:31 +00:00
..
array-impls
auxiliary Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
backcompat
defaults Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
early
generic_const_exprs Point at source of trait bound obligations in more places 2021-11-20 18:54:31 +00:00
infer
issues Fix span for non-satisfied trivial trait bounds 2021-11-14 11:38:52 +01:00
late-bound-vars
min_const_generics
occurs-check Point at source of trait bound obligations in more places 2021-11-20 18:54:31 +00:00
parser-error-recovery feat(rustc_typeck): avoid erroring with "wrong number of generics" if there's other problems 2021-09-28 15:56:45 -07:00
std
type-dependent Auto merge of #87915 - estebank:fancy-spans, r=oli-obk 2021-09-13 16:31:12 +00:00
apit-with-const-param.rs
arg-in-pat-1.rs
arg-in-pat-2.rs
arg-in-pat-3.rs
argument_order.full.stderr
argument_order.min.stderr
argument_order.rs
array-wrapper-struct-ctor.rs
associated-type-bound-fail.rs
associated-type-bound-fail.stderr
associated-type-bound.rs
broken-mir-1.rs
broken-mir-2.rs Ignore automatically derived impls of Clone and Debug in dead code analysis 2021-09-09 19:49:07 +02:00
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
conservative_is_privately_uninhabited_uses_correct_param_env-1.rs
conservative_is_privately_uninhabited_uses_correct_param_env-2.rs
const_trait_fn-issue-88433.rs
const-arg-in-const-arg.min.stderr
const-arg-in-const-arg.rs
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
const-argument-if-length.min.stderr
const-argument-if-length.rs
const-argument-non-static-lifetime.rs
const-fn-with-const-param.rs
const-generic-type_name.rs
const-param-after-const-literal-arg.rs
const-param-before-other-params.full.stderr
const-param-before-other-params.min.stderr
const-param-before-other-params.rs
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
const-param-type-depends-on-const-param.min.stderr
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
const-param-type-depends-on-type-param.full.stderr
const-param-type-depends-on-type-param.min.stderr
const-param-type-depends-on-type-param.rs
const-parameter-uppercase-lint.rs
const-parameter-uppercase-lint.stderr
core-types.rs
cross_crate_complex.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 Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
dyn-supertraits.rs
enum-variants.rs
exhaustive-value.rs
exhaustive-value.stderr Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
expose-default-substs-param-env.rs add tests 2021-10-25 16:05:03 +02:00
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
forbid-non-structural_match-types.stderr
foreign-item-const-parameter.rs
foreign-item-const-parameter.stderr
generic-param-mismatch.rs
generic-param-mismatch.stderr
impl-const-generic-struct.rs
impl-trait-with-const-arguments.rs
impl-trait-with-const-arguments.stderr Add a note about feature(explicit_generic_args_with_impl_trait) to the relevant error message 2021-11-08 19:49:41 +01:00
incorrect-number-of-const-args.rs
incorrect-number-of-const-args.stderr
infer_arg_from_pat.rs
infer_arr_len_from_pat.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
invalid-enum.stderr
invariant.nll.stderr bless nll 2021-11-18 18:44:14 +01:00
invariant.rs add const generics test 2021-11-17 16:46:53 +01:00
invariant.stderr add const generics test 2021-11-17 16:46:53 +01:00
legacy-const-generics-bad.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
legacy-const-generics-bad.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
legacy-const-generics.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
nested-type.full.stderr
nested-type.min.stderr
nested-type.rs
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
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
sneaky-array-repeat-expr.stderr
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-const-param-static-reference.min.stderr
transmute-const-param-static-reference.rs
transparent-maybeunit-array-wrapper.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.min.stderr
type-after-const-ok.rs
types-mismatch-const-args.full.stderr
types-mismatch-const-args.min.stderr
types-mismatch-const-args.rs
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 Use more accurate spans for "unused delimiter" lint 2021-09-09 14:24:33 +00:00
unused-const-param.rs
unused-type-param-suggestion.rs
unused-type-param-suggestion.stderr
where-clauses.rs