rust/src/test/ui/const-generics
2019-10-20 09:16:52 +13:00
..
array-impls When possible point at argument causing item obligation failure 2019-09-19 12:10:23 -07:00
auxiliary Include const generic arguments in metadata. 2019-10-15 07:24:19 +13:00
issues Add a regression test for issue 62187 2019-10-07 22:01:58 +01:00
apit-with-const-param.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
apit-with-const-param.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
array-wrapper-struct-ctor.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
array-wrapper-struct-ctor.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
broken-mir-1.rs Add broken MIR regression tests 2019-05-28 21:35:20 +01:00
broken-mir-1.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
broken-mir-2.rs Use const generics for array impls, restricted to 0..=32 2019-07-07 11:31:38 -07:00
broken-mir-2.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
cannot-infer-const-args.rs Add a test for const args that cannot be inferred 2019-05-01 23:11:20 +01:00
cannot-infer-const-args.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
cannot-infer-type-for-const-param.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
cannot-infer-type-for-const-param.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
concrete-const-as-fn-arg.rs Add tests for concrete const types 2019-05-08 20:35:41 +12:00
concrete-const-as-fn-arg.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
concrete-const-impl-method.rs Add tests for concrete const types 2019-05-08 20:35:41 +12:00
concrete-const-impl-method.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
condition-in-trait-const-arg.rs Allow true and false in const generic arguments 2019-06-03 09:59:45 +01:00
condition-in-trait-const-arg.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
const-arg-in-fn.rs Add a test for const arguments 2019-05-01 23:11:19 +01:00
const-arg-in-fn.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
const-argument-cross-crate-mismatch.rs Include const generic arguments in metadata. 2019-10-15 07:24:19 +13:00
const-argument-cross-crate-mismatch.stderr Fix resolve_type_vars_with_obligations not resolving const inference 2019-10-20 09:16:52 +13:00
const-argument-cross-crate.rs Include const generic arguments in metadata. 2019-10-15 07:24:19 +13:00
const-expression-parameter.rs token::LArrow can begin arguments 2019-05-06 17:00:01 +01:00
const-expression-parameter.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
const-fn-with-const-param.rs Update const generics tests 2019-03-05 22:20:01 +00:00
const-fn-with-const-param.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
const-generic-array-wrapper.rs Add regression test for const generics ICE 2019-05-30 19:55:43 +01:00
const-generic-array-wrapper.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
const-param-before-other-params.rs --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
const-param-before-other-params.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
const-param-from-outer-fn.rs Update const generics tests 2019-03-05 22:20:01 +00:00
const-param-from-outer-fn.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
const-param-in-trait-ungated.rs Add tests 2019-05-04 14:39:43 +01:00
const-param-in-trait-ungated.stderr normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02:00
const-param-in-trait.rs Add tests 2019-05-04 14:39:43 +01:00
const-param-in-trait.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
const-param-type-depends-on-type-param-ungated.rs Make sure const params with type params don't cause errors without a feature gate 2019-04-25 21:12:03 +01:00
const-param-type-depends-on-type-param-ungated.stderr normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02:00
const-param-type-depends-on-type-param.rs Add comment explaining restriction 2019-04-25 23:29:58 +01:00
const-param-type-depends-on-type-param.stderr typo: fix typo in E0392 2019-10-03 09:22:29 -04:00
const-parameter-uppercase-lint.rs Update const generics tests 2019-03-05 22:20:01 +00:00
const-parameter-uppercase-lint.stderr Bring attention to suggestions when the only difference is capitalization 2019-10-13 21:48:39 -07:00
const-types.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
const-types.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
derive-debug-array-wrapper.rs Use const generics for array impls, restricted to 0..=32 2019-07-07 11:31:38 -07:00
derive-debug-array-wrapper.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
fn-const-param-call.rs Gate use of raw and function pointers in const generics behind 2019-10-09 05:10:00 +13:00
fn-const-param-call.stderr Gate use of raw and function pointers in const generics behind 2019-10-09 05:10:00 +13:00
fn-const-param-infer.rs Gate use of raw and function pointers in const generics behind 2019-10-09 05:10:00 +13:00
fn-const-param-infer.stderr Update ui tests 2019-10-09 06:58:39 +13:00
fn-taking-const-generic-array.rs Add a test for a function taking a const param array as an argument 2019-05-28 21:34:42 +01:00
fn-taking-const-generic-array.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
foreign-item-const-parameter.rs Correct the polymorphic extern fn error for const parameters 2019-09-10 22:30:46 +01:00
foreign-item-const-parameter.stderr Make wording less confusing 2019-09-11 00:29:35 +01:00
impl-const-generic-struct.rs Add test for const impl 2019-05-11 00:08:40 +01:00
impl-const-generic-struct.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
incorrect-number-of-const-args.rs Add a test for incorrect numbers of const args 2019-05-01 23:11:19 +01:00
incorrect-number-of-const-args.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
invalid-const-arg-for-type-param.rs Add a test for invalid const arguments 2019-05-10 20:53:35 +01:00
invalid-const-arg-for-type-param.stderr Give method not found a primary span label 2019-09-08 18:27:02 -07:00
invalid-constant-in-args.rs Add a test for invalid const arguments 2019-03-07 23:39:01 +00:00
invalid-constant-in-args.stderr Update tests 2019-03-11 23:10:26 +03:00
mut-ref-const-param-array.rs Fix unwrapping usize issue in HasMutInterior 2019-05-31 01:19:59 +01:00
mut-ref-const-param-array.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
raw-ptr-const-param-deref.rs Refactor pretty print const to use a big match statement 2019-10-09 05:10:00 +13:00
raw-ptr-const-param-deref.stderr Gate use of raw and function pointers in const generics behind 2019-10-09 05:10:00 +13:00
raw-ptr-const-param.rs Refactor pretty print const to use a big match statement 2019-10-09 05:10:00 +13:00
raw-ptr-const-param.stderr Pretty print raw pointers in consts as '{pointer}'. 2019-10-10 08:11:31 +13:00
slice-const-param-mismatch.rs Add a couple more test cases, including non-ascii strings. 2019-09-29 08:39:48 +13:00
slice-const-param-mismatch.stderr Fix const arguments not displaying in types mismatch diagnostic. 2019-10-06 19:56:05 +13:00
slice-const-param.rs Add a couple more test cases, including non-ascii strings. 2019-09-29 08:39:48 +13:00
slice-const-param.stderr Added test for mismatched slices, and byte slices. 2019-09-28 15:07:22 +12:00
struct-with-invalid-const-param.rs Fix ICE with const generic param in struct 2019-03-22 01:49:42 +00:00
struct-with-invalid-const-param.stderr update ui tests 2019-10-16 13:56:14 +02:00
transparent-maybeunit-array-wrapper.rs Fix unwrapping usize issue with transparent MaybeUnit array wrapper 2019-06-02 01:50:06 +01:00
transparent-maybeunit-array-wrapper.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
types-mismatch-const-args.rs Test diagnostic output of type mismatches for types that have const 2019-10-07 20:39:08 +13:00
types-mismatch-const-args.stderr Test diagnostic output of type mismatches for types that have const 2019-10-07 20:39:08 +13:00
uninferred-consts-during-codegen-1.rs Use assert_eq! instead of println! in tests 2019-05-28 21:35:20 +01:00
uninferred-consts-during-codegen-1.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
uninferred-consts-during-codegen-2.rs Use assert_eq! instead of println! in tests 2019-05-28 21:35:20 +01:00
uninferred-consts-during-codegen-2.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
unused-const-param.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
unused-const-param.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00