| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-08-18 | change const param ty warning message | Bastian Kauschke | -77/+57 | |
| 2020-08-18 | run wfcheck in parralel again, add test for 74950 | Bastian Kauschke | -11/+73 | |
| 2020-08-18 | move const param structural match checks to wfcheck | Bastian Kauschke | -311/+40 | |
| 2020-08-13 | Auto merge of #75322 - JulianKnodt:revisions, r=lcnr | bors | -853/+1325 | |
| Add a bunch of const-generic revisions for `min_const_generics` This adds a bunch of revisions to `const-generic` tests which is part of #75279, but doesn't cover everything. r? @lcnr | ||||
| 2020-08-12 | Flip order of const & type | kadmin | -1/+1 | |
| 2020-08-12 | Update stderr files | kadmin | -960/+85 | |
| And also fix some comments as suggested by lcnr | ||||
| 2020-08-12 | Add missing tests in root const-gen dir | kadmin | -102/+1182 | |
| 2020-08-12 | Add a bunch of revisions | kadmin | -38/+305 | |
| This adds a bunch of revisions to const-generic tests | ||||
| 2020-08-11 | Rollup merge of #75359 - lcnr:unused-delims-trim, r=oli-obk | Yuki Okushi | -1/+1 | |
| unused_delims: trim expr improves rustfix output. | ||||
| 2020-08-10 | Auto merge of #74005 - estebank:type-ascription-redux, r=petrochenkov | bors | -4/+1 | |
| Clean up errors in typeck and resolve * Tweak ordering of suggestions * Do not suggest similarly named enclosing item * Point at item definition in foreign crates * Add missing primary label CC #34255. | ||||
| 2020-08-10 | Do not suggest similarly named enclosing item | Esteban Küber | -4/+1 | |
| 2020-08-10 | unused_delims: trim expr | Bastian Kauschke | -1/+1 | |
| 2020-08-10 | Convert `Eq` impl to check Ord::Equal | kadmin | -1/+1 | |
| 2020-08-09 | Change Ord impl for ParamKindOrd | kadmin | -46/+47 | |
| Updated tests and error msgs Update stderr from test Update w/ lcnr comments Change some tests around, and also updated Ord implementation for ParamKindOrd Update w/ nits from lcnr | ||||
| 2020-08-09 | Test lifetimes after types after consts forbidden | kadmin | -4/+41 | |
| Added more complex test and changed error message | ||||
| 2020-08-09 | Added +1 test for only works w/ feat const gen | kadmin | -1/+54 | |
| Added this test to ensure that reordering the parameters only works with the feature const generics enabled. Fixed nits Also added another test to verify that intermixed lifetimes are forbidden | ||||
| 2020-08-08 | Rm restriction on ord of default types w/ consts | kadmin | -37/+18 | |
| 2020-08-08 | Auto merge of #74877 - lcnr:min_const_generics, r=oli-obk | bors | -58/+313 | |
| Implement the `min_const_generics` feature gate Implements both https://github.com/rust-lang/lang-team/issues/37 and https://github.com/rust-lang/compiler-team/issues/332. Adds the new feature gate `#![feature(min_const_generics)]`. This feature gate adds the following limitations to using const generics: - generic parameters must only be used in types if they are trivial. (either `N` or `{ N }`) - generic parameters must be either integers, `bool` or `char`. We do allow arbitrary expressions in associated consts though, meaning that the following is allowed, even if `<[u8; 0] as Foo>::ASSOC` is not const evaluatable. ```rust trait Foo { const ASSOC: usize; } impl<const N: usize> Foo for [u8; N] { const ASSOC: usize = 64 / N; } ``` r? @varkor cc @eddyb @withoutboats | ||||
| 2020-08-07 | test min_const_generics using revisions | Bastian Kauschke | -52/+154 | |
| 2020-08-06 | allow complex expressions in assoc consts | Bastian Kauschke | -17/+19 | |
| 2020-08-05 | Auto merge of #75166 - JulianKnodt:i64494, r=lcnr | bors | -0/+37 | |
| Add regression test for #64494 Add regression test to indicate if this compilation ever succeeds. Fixes #64494 r? @lcnr | ||||
| 2020-08-05 | impl review | Bastian Kauschke | -8/+12 | |
| 2020-08-05 | forbid complex types for generic parameters | Bastian Kauschke | -0/+52 | |
| 2020-08-05 | forbid generic params in complex consts | Bastian Kauschke | -0/+95 | |
| 2020-08-04 | Add regression test | kadmin | -0/+37 | |
| 2020-08-04 | Add regression test | kadmin | -0/+74 | |
| As well as matching error outputs | ||||
| 2020-07-31 | Removed error check in order to prevent ICE | kadmin | -0/+177 | |
| 2020-07-29 | Rollup merge of #74671 - rust-lang:const-generics-coerce-unsized, r=nikomatsakis | Yuki Okushi | -0/+11 | |
| add const generics array coercion test | ||||
| 2020-07-27 | update tests | Bastian Kauschke | -1/+10 | |
| 2020-07-27 | forbid generic params inside of anon consts in ty defaults | Bastian Kauschke | -0/+33 | |
| 2020-07-26 | Add test for issue-56445 | Yuki Okushi | -0/+32 | |
| 2020-07-26 | Auto merge of #74060 - kpp:remove_length_at_most_32, r=dtolnay | bors | -542/+181 | |
| Remove trait LengthAtMost32 This is a continuation of https://github.com/rust-lang/rust/pull/74026 preserving the original burrbull's commit. I talked to @burrbull, he suggested me to finish his PR. | ||||
| 2020-07-24 | Auto merge of #74676 - lcnr:generics-no-sort, r=varkor | bors | -2/+34 | |
| correctly deal with unsorted generic parameters We now stop sorting generic params and instead correctly handle unsorted params in the rest of the compiler. We still restrict const params to come after type params though, so this PR does not change anything which is visible to users. This might slightly influence perf, so let's prevent any unintentional rollups. @bors rollup=never r? @varkor | ||||
| 2020-07-23 | test usage | Bastian Kauschke | -2/+15 | |
| 2020-07-23 | add more complex param order test | Bastian Kauschke | -1/+20 | |
| 2020-07-23 | add const generics | Bastian Kauschke | -0/+11 | |
| 2020-07-23 | tweak wording | Bastian Kauschke | -1/+1 | |
| Co-authored-by: varkor <github@varkor.com> | ||||
| 2020-07-22 | require type defaults to be after const generic parameters | Bastian Kauschke | -0/+27 | |
| as if this is currently possible. HA! | ||||
| 2020-07-19 | Add test for an explicit non-'static lifetime in a const argument | Gabriel Smith | -0/+28 | |
| 2020-07-18 | Rollup merge of #74445 - lcnr:const-generic-ty-decl, r=Dylan-DPC | Manish Goregaokar | -0/+48 | |
| add test for #62878 forgot to push this as part of #74159 r? @Dylan-DPC | ||||
| 2020-07-17 | add test for #62878 | Bastian Kauschke | -0/+48 | |
| 2020-07-17 | Add regression test for #69414 | Alex Macleod | -2/+5 | |
| Closes #69414 (no longer ICEs after #74159) | ||||
| 2020-07-16 | Rollup merge of #74392 - lcnr:const-generics-update, r=varkor | Manish Goregaokar | -0/+273 | |
| const generics triage I went through all const generics issues and closed all issues which are already fixed. Some issues already have a regression test but were not closed. Also doing this as part of this PR. uff r? @eddyb @varkor closes #61936 closes #62878 closes #63695 closes #67144 closes #68596 closes #69816 closes #70217 closes #70507 closes #70586 closes #71348 closes #71805 closes #73120 closes #73508 closes #73730 closes #74255 | ||||
| 2020-07-16 | add regression test for #74255 | Bastian Kauschke | -0/+18 | |
| 2020-07-16 | add regression test for #73730 | Bastian Kauschke | -0/+17 | |
| 2020-07-16 | add regression test for #73508 | Bastian Kauschke | -0/+23 | |
| 2020-07-16 | add regression test for #73491 | Bastian Kauschke | -0/+9 | |
| 2020-07-16 | add regression test for #73120 | Bastian Kauschke | -0/+22 | |
| 2020-07-16 | add regression test for #71805 | Bastian Kauschke | -0/+41 | |
| 2020-07-16 | add regression test for #71348 | Bastian Kauschke | -0/+35 | |
