| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-10-23 | const_eval_checked: deal with unused nodes + div | Bastian Kauschke | -0/+62 | |
| 2020-10-22 | improve const infer error | Bastian Kauschke | -1/+1 | |
| 2020-10-22 | min_const_generics: allow ty param in repeat expr | Bastian Kauschke | -20/+122 | |
| 2020-10-17 | Suggest minimal subset features in `incomplete_features` lint | Yuki Okushi | -0/+10 | |
| 2020-10-12 | Bless expected errors | Ethan Brierley | -132/+132 | |
| 2020-10-11 | `min_const_generics` diagnostics improvements | Ethan Brierley | -174/+174 | |
| 2 3 | ||||
| 2020-10-05 | Rollup merge of #77439 - varkor:min_const_generics-tests, r=lcnr,estebank | Dylan DPC | -62/+623 | |
| Fix missing diagnostic span for `impl Trait` with const generics, and add various tests for `min_const_generics` and `const_generics` Closes https://github.com/rust-lang/rust/issues/61410. Adds `min_const_generics` tests for: - https://github.com/rust-lang/rust/issues/73727 - https://github.com/rust-lang/rust/issues/72293 - https://github.com/rust-lang/rust/issues/67375 - https://github.com/rust-lang/rust/issues/75153 - https://github.com/rust-lang/rust/issues/71922 - https://github.com/rust-lang/rust/issues/69913 - https://github.com/rust-lang/rust/issues/67945 - https://github.com/rust-lang/rust/issues/69239 Adds `const_generics` tests for: - https://github.com/rust-lang/rust/issues/67375 - https://github.com/rust-lang/rust/issues/75153 - https://github.com/rust-lang/rust/issues/71922 - https://github.com/rust-lang/rust/issues/69913 - https://github.com/rust-lang/rust/issues/67945 - https://github.com/rust-lang/rust/issues/69239 (I only added separate `min_const_generics` and `const_generics` tests if they were handled differently by the two features.) We need to figure out how to deduplicate when `const_generics` is stabilised, but we can discuss that later. For now, we should be checking neither feature breaks, so require regression tests for both. I've given them identical names when I've added both, which should make it easier to spot them later. r? @lcnr | ||||
| 2020-10-04 | Rollup merge of #77388 - JohnTitor:add-tests, r=Dylan-DPC | Yuki Okushi | -0/+11 | |
| Add some regression tests Closes #66501 Closes #68951 Closes #72565 Closes #74244 Closes #75299 The first issue is fixed in 1.43.0, other issues are fixed in the recent nightly. | ||||
| 2020-10-03 | Add `const_generics` test for `impl-trait-with-const-arguments` | varkor | -2/+14 | |
| 2020-10-03 | Move tests | varkor | -148/+0 | |
| 2020-10-03 | Add tests for `const_generics` | varkor | -21/+392 | |
| 2020-10-03 | Replace "non trivial" with "non-trivial" | varkor | -82/+82 | |
| 2020-10-02 | resolve: prohibit anon const non-static lifetimes | David Wood | -0/+48 | |
| This commit modifies name resolution to emit an error when non-static lifetimes are used in anonymous constants when the `min_const_generics` feature is enabled. Signed-off-by: David Wood <david@davidtw.co> | ||||
| 2020-10-02 | Add various `min_const_generics` regression tests | varkor | -0/+296 | |
| 2020-10-02 | Fix missing diagnostic span for `impl Trait` with const generics | varkor | -0/+30 | |
| 2020-10-01 | Add a regression test for issue-75299 | Yuki Okushi | -0/+11 | |
| 2020-10-01 | Rollup merge of #77303 - lcnr:const-evaluatable-TooGeneric, r=oli-obk,varkor | Dylan DPC | -41/+49 | |
| const evaluatable: improve `TooGeneric` handling Instead of emitting an error in `fulfill`, we now correctly stall on inference variables. As `const_eval_resolve` returns `ErrorHandled::TooGeneric` when encountering generic parameters on which we actually do want to error, we check for inference variables and eagerly emit an error if they don't exist, returning `ErrorHandled::Reported` instead. Also contains a small bugfix for `ConstEquate` where we previously only stalled on type variables. This is probably a leftover from when we did not yet support stalling on const inference variables. r? @oli-obk cc @varkor @eddyb | ||||
| 2020-09-30 | Rollup merge of #77331 - hameerabbasi:issue-74906, r=lcnr | Jonas Schievink | -0/+25 | |
| Add test for async/await combined with const-generics. Fixes #74906. | ||||
| 2020-09-29 | Auto merge of #76754 - varkor:diagnostic-cleanup-ii, r=ecstatic-morse | bors | -2/+2 | |
| Clean up diagnostics for arithmetic operation errors Plus a small tweak to a range pattern error message. | ||||
| 2020-09-29 | Add test for async/await combined with const-generics. | Hameer Abbasi | -0/+25 | |
| 2020-09-28 | const evaluatable: improve `TooGeneric` handling | Bastian Kauschke | -41/+49 | |
| 2020-09-26 | Fix UI test fallout | varkor | -1/+1 | |
| 2020-09-26 | Make invalid integer operation messages consistent | varkor | -1/+1 | |
| 2020-09-26 | Rollup merge of #77093 - lcnr:const-generics-infer-warning, r=varkor | Ralf Jung | -18/+31 | |
| merge `need_type_info_err(_const)` I hoped that this would automatically solve #76737 but it doesn't quite seem like it fixes #77092 r? @varkor | ||||
| 2020-09-25 | Move from {{closure}}#0 syntax to {closure#0} for (def) path components | marmeladema | -2/+2 | |
| 2020-09-25 | Rollup merge of #77073 - lcnr:ty-trait-param, r=matthewjasper | Jonas Schievink | -0/+21 | |
| dead_code: look at trait impls even if they don't contain items fixes #70225 | ||||
| 2020-09-24 | update tests | Bastian Kauschke | -3/+5 | |
| 2020-09-24 | visit impl self ty + trait | Bastian Kauschke | -0/+25 | |
| 2020-09-24 | assign the correct `DefId` in `nominal_obligations` | Bastian Kauschke | -3/+3 | |
| 2020-09-24 | walk hir to get const evaluatable predicates | Bastian Kauschke | -14/+12 | |
| 2020-09-24 | const_evaluatable_checked: collect predicates from fn_sig | Bastian Kauschke | -1/+54 | |
| 2020-09-23 | Rollup merge of #76939 - lcnr:const-evaluatable-cont, r=oli-obk | Dylan DPC | -10/+32 | |
| emit errors during AbstractConst building There changes are currently still untested, so I don't expect this to pass CI :laughing: It seems to me like this is the direction we want to go in, though we didn't have too much of a discussion about this. r? @oli-obk | ||||
| 2020-09-23 | use the correct span when dealing with inference variables | Bastian Kauschke | -6/+31 | |
| 2020-09-23 | merge `need_type_info_err(_const)` | Bastian Kauschke | -18/+6 | |
| 2020-09-22 | dead_code: look at trait impls even if they don't contain items | Bastian Kauschke | -0/+21 | |
| 2020-09-21 | Rollup merge of #76581 - lcnr:bound-too-generic, r=eddyb | ecstatic-morse | -0/+124 | |
| do not ICE on bound variables, return `TooGeneric` instead fixes #73260, fixes #74634, fixes #76595 r? @nikomatsakis | ||||
| 2020-09-21 | review | Bastian Kauschke | -18/+9 | |
| 2020-09-21 | add test for closures in abstract consts | Bastian Kauschke | -0/+21 | |
| 2020-09-21 | bless tests | Bastian Kauschke | -10/+20 | |
| 2020-09-21 | add tests | Bastian Kauschke | -0/+205 | |
| 2020-09-20 | update stderr file | Bastian Kauschke | -2/+1 | |
| 2020-09-20 | do not ICE on `ty::Bound` in Layout::compute | Bastian Kauschke | -0/+39 | |
| 2020-09-20 | miri: correctly deal with `ConstKind::Bound` | Bastian Kauschke | -0/+86 | |
| 2020-09-18 | support const_evaluatable_checked across crate boundaries | Bastian Kauschke | -0/+73 | |
| 2020-09-18 | add test for let-bindings | Bastian Kauschke | -0/+33 | |
| 2020-09-18 | add function calls | Bastian Kauschke | -0/+30 | |
| 2020-09-18 | allow unary operations and ignore StorageLive/Dead stmts | Bastian Kauschke | -0/+14 | |
| 2020-09-18 | use abstract consts when unifying ConstKind::Unevaluated | Bastian Kauschke | -8/+15 | |
| 2020-09-18 | initial working state | Bastian Kauschke | -0/+14 | |
| 2020-09-16 | Rollup merge of #76719 - hameerabbasi:min-const-generics-ty, r=lcnr | Tyler Mandry | -5/+59 | |
| Change error message for ty param in const This PR introduces the following changes: * Change error message for type param in a const expression when using `min_const_generics` * Change `ParamInNonTrivialAnonConst` to contain an extra `bool` used for distinguishing whether the passed-in symbol is a type or a value. Fixes #76701 | ||||
