| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-07-29 | Recover keywords in bounds | Maybe Waffle | -4/+11 | |
| For example, this fixes a error for `impl fn()` (notice the capitalization) | ||||
| 2022-07-26 | Fix diagnostics for unfulfilled obligations | Deadbeef | -7/+1 | |
| 2022-07-26 | bless tests, remove nonexistent E0395 | Deadbeef | -87/+77 | |
| 2022-07-23 | Add tests | Deadbeef | -0/+100 | |
| 2022-06-16 | diagnostics: fix trailing space | klensy | -2/+2 | |
| 2022-06-11 | Handle empty where-clause better | Michael Goulet | -2/+2 | |
| 2022-05-30 | Remove `#[default..]` and add `#[const_trait]` | Deadbeef | -141/+33 | |
| 2022-05-19 | Fix up tests | Oli Scherer | -4/+83 | |
| 2022-05-19 | Stable const things need a stability attribute | Oli Scherer | -4/+7 | |
| 2022-05-19 | Move check to existing pass | Jacob Pratt | -98/+36 | |
| This alters the diagnostics a bit, as the trait method is still stable. The only thing this check does is ensure that compilation fails if a trait implementation is declared const-stable. | ||||
| 2022-05-19 | Proper const stability check, default to unstable | Jacob Pratt | -64/+67 | |
| Rather than deferring to const eval for checking if a trait is const, we now check up-front. This allows the error to be emitted earlier, notably at the same time as other stability checks. Also included in this commit is a change of the default const stability level to UNstable. Previously, an item that was `const` but did not explicitly state it was unstable was implicitly stable. | ||||
| 2022-04-21 | make `E0117` error clear | Takayuki Maeda | -2/+2 | |
| 2022-04-11 | Auto merge of #94243 - compiler-errors:compiler-flags-typo, r=Mark-Simulacrum | bors | -1/+1 | |
| `s/compiler-flags/compile-flags` in compiletest Also make compiletest panic so this doesn't happen in the future! I literally always forget which it's called, so I wanted to make my life easier in the future. Also open to the possibility of parsing both. | ||||
| 2022-04-05 | Suggest derivable trait on E0277 | ohno418 | -0/+4 | |
| 2022-03-24 | Properly track `ImplObligation`s | Esteban Kuber | -0/+12 | |
| Instead of probing for all possible impls that could have caused an `ImplObligation`, keep track of its `DefId` and obligation spans for accurate error reporting. Follow up to #89580. Addresses #89418. Remove some unnecessary clones. Tweak output for auto trait impl obligations. | ||||
| 2022-03-21 | Tidy up | Deadbeef | -1/+5 | |
| 2022-03-21 | Rename `~const Drop` to `~const Destruct` | Deadbeef | -51/+44 | |
| 2022-03-07 | Update tests after feature stabilization | Eric Holk | -78/+49 | |
| 2022-03-03 | Cleanup feature gates. | Camille GILLOT | -2/+5 | |
| 2022-02-21 | rename compiler-flags to compile-flags | Michael Goulet | -1/+1 | |
| 2022-02-12 | Rebless | Deadbeef | -0/+36 | |
| 2022-02-12 | Report the selection error when possible | Deadbeef | -22/+71 | |
| 2022-02-12 | bless you | Deadbeef | -27/+49 | |
| 2022-01-26 | add note suggesting that predicate is satisfied but is not const | Michael Goulet | -0/+35 | |
| 2022-01-26 | Add a minimal working `append_const_msg` argument | Deadbeef | -3/+3 | |
| 2022-01-26 | Improve selection errors for `~const` trait bounds | Deadbeef | -35/+59 | |
| 2022-01-19 | Foreign types are trivially drop | Michael Goulet | -0/+13 | |
| - Also rename a trivial_const_drop to match style of other functions in the util module. - Also add a test for `const Drop` that doesn't depend on a `~const` bound. - Also comment a bit why we remove the const bound during dropck impl check. | ||||
| 2022-01-19 | never is trivially const-drop, and add test | Michael Goulet | -0/+2 | |
| 2022-01-18 | adjust tests | Michael Goulet | -67/+67 | |
| 2022-01-11 | Add test | Deadbeef | -0/+26 | |
| 2021-12-25 | normalize env constness for nested obligations | Deadbeef | -0/+14 | |
| 2021-12-22 | Fixed a small typo in ui test comments | fee1-dead | -1/+1 | |
| 2021-12-21 | Fix bad caching of `~const Drop` bounds | Deadbeef | -0/+29 | |
| 2021-12-17 | Use a const ParamEnv when in default_method_body_is_const | Deadbeef | -0/+36 | |
| 2021-12-16 | Fix default_method_body_is_const when used across crates | Deadbeef | -0/+21 | |
| 2021-12-12 | Add trailing newline | Deadbeef | -1/+1 | |
| 2021-12-12 | Revert "Auto merge of #91491 - spastorino:revert-91354, r=oli-obk" | Deadbeef | -3/+2 | |
| This reverts commit ff2439b7b9bafcfdff86b7847128014699df8442, reversing changes made to 2a9e0831d6603d87220cedd1b1293e2eb82ef55c. | ||||
| 2021-12-12 | Fix #91489 | Deadbeef | -0/+18 | |
| 2021-12-11 | Tweak assoc type obligation spans | Esteban Kuber | -2/+2 | |
| * Point at RHS of associated type in obligation span * Point at `impl` assoc type on projection error * Reduce verbosity of recursive obligations * Point at source of binding lifetime obligation * Tweak "required bound" note * Tweak "expected... found opaque (return) type" labels * Point at set type in impl assoc type WF errors | ||||
| 2021-12-03 | Revert "Auto merge of #91354 - fee1-dead:const_env, r=spastorino" | Santiago Pastorino | -2/+3 | |
| This reverts commit 18bb8c61a975fff6424cda831ace5b0404277145, reversing changes made to d9baa361902b172be716f96619b909f340802dea. | ||||
| 2021-11-29 | `ParamEnv` should be const when `ImplItem` is within a const impl. | Deadbeef | -2/+21 | |
| 2021-11-29 | Reformat everything | Deadbeef | -1/+1 | |
| 2021-11-29 | Fixup | Oli Scherer | -4/+2 | |
| 2021-11-29 | Use the constness from the param env instead of having a separate dimension ↵ | Oli Scherer | -21/+3 | |
| for it This breaks a ~const test that will be fixed in a follow up commit of this PR | ||||
| 2021-11-24 | Allow features like const_try in d_m_b_i_c | Deadbeef | -0/+51 | |
| 2021-11-24 | Allow more cases to match ~const Drop. | Deadbeef | -0/+20 | |
| 2021-11-20 | Point at source of trait bound obligations in more places | Esteban Kuber | -51/+18 | |
| Be more thorough in using `ItemObligation` and `BindingObligation` when evaluating obligations so that we can point at trait bounds that introduced unfulfilled obligations. We no longer incorrectly point at unrelated trait bounds (`substs-ppaux.verbose.stderr`). In particular, we now point at trait bounds on method calls. We no longer point at "obvious" obligation sources (we no longer have a note pointing at `Trait` saying "required by a bound in `Trait`", like in `associated-types-no-suitable-supertrait*`). Address part of #89418. | ||||
| 2021-11-10 | no overlap errors after failing the orphan check | lcnr | -19/+85 | |
| 2021-10-25 | fix(rustc_typeck): report function argument errors on matching type | Michael Howell | -6/+0 | |
| Fixes #90101 | ||||
| 2021-10-19 | Revert "Rollup merge of #86011 - tlyu:correct-sized-bound-spans, r=estebank" | Yuki Okushi | -6/+6 | |
| This reverts commit 36a1076d24697621a3bb67ef654b4eb79647aa54, reversing changes made to e1e9319d93aea755c444c8f8ff863b0936d7a4b6. | ||||
