about summary refs log tree commit diff
path: root/src/test/ui/const-generics
AgeCommit message (Expand)AuthorLines
2019-10-11Rollup merge of #65191 - varkor:const-generics-test-cases, r=nikomatsakisTyler Mandry-0/+32
2019-10-10Pretty print raw pointers in consts as '{pointer}'.ben-3/+3
2019-10-09Update ui testsben-6/+6
2019-10-09Refactor pretty print const to use a big match statementben-2/+2
2019-10-09Gate use of raw and function pointers in const generics behindben-4/+60
2019-10-09Pretty print function pointer const values.ben-4/+4
2019-10-09Fix calling function pointer const parameters. Also fixes inference ofben-0/+99
2019-10-07Add a regression test for issue 62187varkor-0/+32
2019-10-07Move const generic regression tests to their old foldervarkor-0/+0
2019-10-07Test diagnostic output of type mismatches for types that have constben-0/+48
2019-10-06Fix const arguments not displaying in types mismatch diagnostic.ben-6/+6
2019-10-03typo: fix typo in E0392Ben Boeckel-1/+1
2019-10-03Rollup merge of #64931 - estebank:missing-param-ref, r=matthewjasper,CentrilMazdak Farrokhzad-1/+1
2019-10-02review commentEsteban Küber-1/+1
2019-09-30Reword E0392 slightlyEsteban Küber-1/+1
2019-09-29Add a couple more test cases, including non-ascii strings.ben-3/+16
2019-09-28Added test for mismatched slices, and byte slices.ben-1/+47
2019-09-28Add support for relating slices in `super_relate_consts`.ben-0/+20
2019-09-23Rollup merge of #64679 - skinny121:const-infer, r=varkorMazdak Farrokhzad-0/+29
2019-09-22Infer consts consistently. Moved some logic into super_combined_consts,ben-0/+29
2019-09-19When possible point at argument causing item obligation failureEsteban Küber-2/+2
2019-09-12Auto merge of #64360 - varkor:foreign-items-diagnostic-const-generics, r=cram...bors-0/+37
2019-09-11Make wording less confusingvarkor-2/+2
2019-09-10Correct the polymorphic extern fn error for const parametersvarkor-0/+37
2019-09-09Auto merge of #64237 - estebank:tweak-method-not-found, r=Centrilbors-1/+1
2019-09-08Give method not found a primary span labelEsteban Küber-1/+1
2019-09-08Update test stderr with results of enabling unused lintsMark Rousskov-5/+7
2019-08-19test: add test for #61432.Eduard-Mihai Burtescu-0/+25
2019-08-05Add implementations for converting boxed slices into boxed arraysJake Goulding-0/+101
2019-07-30--bless tests due to INCOMPLETE_FEATURES being a lint.Mazdak Farrokhzad-31/+90
2019-07-28Add tests for Vec(Deque) array PartialEq impls.Mazdak Farrokhzad-0/+131
2019-07-18Auto merge of #61749 - davidtwco:rfc-2203-const-array-repeat-exprs, r=eddybbors-16/+22
2019-07-09normalize use of backticks in compiler messages for libsyntax/feature_gateSamy Kacimi-3/+3
2019-07-07rustc/rustc_mir: Implement RFC 2203.David Wood-16/+22
2019-07-07Use const generics for array impls, restricted to 0..=32Scott McMurray-8/+158
2019-07-04Permit use of mem::uninitialized via allow(deprecated)Mark Rousskov-0/+1
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-2/+2
2019-06-13typeck: Fix ICE for blocks in repeat expr count.David Wood-0/+34
2019-06-11Rollup merge of #61698 - davidtwco:ice-const-generic-length, r=varkorMazdak Farrokhzad-0/+60
2019-06-10typeck: Fix const generic in repeat param ICE.David Wood-0/+60
2019-06-07Add test for deriving Debug for const genericsvarkor-0/+28
2019-06-07Add test for const generics struct constructorvarkor-0/+21
2019-06-04Rollup merge of #61409 - varkor:condition-trait-param-ice, r=oli-obkMazdak Farrokhzad-0/+18
2019-06-03Allow `true` and `false` in const generic argumentsvarkor-0/+2
2019-06-02Rollup merge of #61380 - varkor:expected-usize-got-param, r=eddybMazdak Farrokhzad-0/+63
2019-06-02Add regression test for #61422varkor-0/+21
2019-06-02Fix unwrapping usize issue with transparent MaybeUnit array wrappervarkor-0/+17
2019-05-31Add test for condition in trait const paramvarkor-0/+16
2019-05-31Rollup merge of #61344 - varkor:const-failed-to-life-ice, r=CentrilPietro Albini-0/+24
2019-05-31Fix unwrapping usize issue in HasMutInteriorvarkor-0/+25