rust/src/test/ui/const-generics
bors 824383d4ab Auto merge of #64237 - estebank:tweak-method-not-found, r=Centril
Give method not found a primary span label
2019-09-09 08:39:59 +00:00
..
array-impls Add implementations for converting boxed slices into boxed arrays 2019-08-05 10:26:53 -04: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-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 --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
const-parameter-uppercase-lint.rs Update const generics tests 2019-03-05 22:20:01 +00:00
const-parameter-uppercase-lint.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02: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-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
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
issue-60263.rs Don't ICE when relating const type args 2019-05-02 16:19:35 -07:00
issue-60263.stderr normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02:00
issue-60818-struct-constructors.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
issue-60818-struct-constructors.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
issue-61336-1.rs typeck: Fix const generic in repeat param ICE. 2019-06-10 16:58:47 +01:00
issue-61336-1.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
issue-61336-2.rs rustc/rustc_mir: Implement RFC 2203. 2019-07-07 19:51:09 +01:00
issue-61336-2.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
issue-61336.rs rustc/rustc_mir: Implement RFC 2203. 2019-07-07 19:51:09 +01:00
issue-61336.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
issue-61422.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
issue-61422.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
issue-61432.rs test: add test for #61432. 2019-08-19 19:33:49 +03:00
issue-61432.stderr test: add test for #61432. 2019-08-19 19:33:49 +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
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 --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +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
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