| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-07 | Rename rustc_mir to rustc_const_eval. | Camille GILLOT | -2484/+0 | |
| 2021-09-07 | Move the dataflow framework to its own crate. | Camille GILLOT | -7/+6 | |
| 2021-09-02 | do not resolve instances for trait fn ids | b-naber | -17/+19 | |
| 2021-08-27 | fmt | Deadbeef | -4/+9 | |
| 2021-08-27 | Add `ty::BoundConstness` | Deadbeef | -2/+2 | |
| 2021-08-27 | Fix #88155 | Deadbeef | -36/+46 | |
| 2021-08-26 | add `tcx` to `fn walk` | lcnr | -1/+1 | |
| 2021-08-26 | make unevaluated const substs optional | lcnr | -1/+1 | |
| 2021-08-22 | Fix more “a”/“an” typos | Frank Steffahn | -1/+1 | |
| 2021-08-19 | introduce a Coerce predicate | Niko Matsakis | -2/+2 | |
| 2021-08-16 | Skip assert ICE with default_method_body_is_const | Deadbeef | -1/+8 | |
| functions marked with #[default_method_body_is_const] would ICE when being const checked due to it not being a const function: `tcx.is_const_fn_raw(did)` returns false. We should skip this assert when it is marked with that attribute. | ||||
| 2021-08-13 | move Constness into TraitPredicate | Deadbeef | -2/+5 | |
| 2021-08-01 | Auto merge of #87449 - matthiaskrgr:clippyy_v2, r=nagisa | bors | -1/+1 | |
| more clippy::complexity fixes (also a couple of clippy::perf fixes) | ||||
| 2021-07-28 | Improve comments about const panic handling | Mara Bos | -0/+3 | |
| Co-authored-by: Ralf Jung <post@ralfj.de> | ||||
| 2021-07-28 | Make const panic!("..") work in Rust 2021. | Mara Bos | -0/+2 | |
| During const eval, this replaces calls to core::panicking::panic_fmt and std::panicking::being_panic_fmt with a call to a new const fn: core::panicking::const_panic_fmt. That function uses fmt::Arguments::as_str() to get the str and calls panic_str with that instead. panic!() invocations with formatting arguments are still not accepted, as the creation of such a fmt::Arguments cannot be done in constant functions right now. | ||||
| 2021-07-27 | Stabilize `const_fn_union` | Jacob Pratt | -28/+1 | |
| 2021-07-27 | Stabilize `const_fn_transmute` | Jacob Pratt | -32/+0 | |
| 2021-07-25 | clippy::useless_format | Matthias Krüger | -1/+1 | |
| 2021-07-24 | rename Validator → Checker | Ralf Jung | -5/+5 | |
| 2021-07-24 | rename const checking visitor module to check_consts::check | Ralf Jung | -2/+2 | |
| 2021-07-19 | Iterate through impls only when permitted | Deadbeef | -8/+11 | |
| 2021-07-13 | Auto merge of #86857 - fee1-dead:add-attr, r=oli-obk | bors | -2/+28 | |
| Add #[default_method_body_is_const] `@rustbot` label F-const_trait_impl | ||||
| 2021-07-10 | Permit calls to default const fns of impl const | Deadbeef | -7/+25 | |
| 2021-07-10 | Skip check for calling functions in same trait | Deadbeef | -3/+11 | |
| 2021-07-10 | remove const_raw_ptr_to_usize_cast feature | Ralf Jung | -10/+15 | |
| 2021-07-03 | Remove `ty::Binder::bind()` | Yuki Okushi | -6/+1 | |
| Co-authored-by: Noah Lev <camelidcamel@gmail.com> | ||||
| 2021-06-05 | Drop an `if let` that will always succeed | LingMan | -7/+5 | |
| We've already checked that `proj_base == []` in the line above and renaming `place_local` to `local` doesn't gain us anything. | ||||
| 2021-06-03 | Rollup merge of #85934 - tmiasko:is-union, r=jackh726 | Yuki Okushi | -6/+2 | |
| Add `Ty::is_union` predicate | ||||
| 2021-06-02 | Add `Ty::is_union` predicate and use it | Tomasz Miąsko | -6/+2 | |
| 2021-06-02 | convert Rvalue::threadlocalref assertion to delay bug | csmoe | -9/+4 | |
| 2021-06-01 | skip check_static on rvalue::threadlocalref | csmoe | -1/+5 | |
| 2021-05-22 | stabilize const_fn_unsize | Ralf Jung | -38/+4 | |
| 2021-05-16 | Allow `async {}` expressions in const contexts | Jonas Schievink | -2/+10 | |
| 2021-04-29 | don't let const_fn feature flag affect impl-block-level trait bounds | Ralf Jung | -11/+2 | |
| 2021-04-24 | Auto merge of #84310 - RalfJung:const-fn-feature-flags, r=oli-obk | bors | -32/+22 | |
| further split up const_fn feature flag This continues the work on splitting up `const_fn` into separate feature flags: * `const_fn_trait_bound` for `const fn` with trait bounds * `const_fn_unsize` for unsizing coercions in `const fn` (looks like only `dyn` unsizing is still guarded here) I don't know if there are even any things left that `const_fn` guards... at least libcore and liballoc do not need it any more. `@oli-obk` are you currently able to do reviews? | ||||
| 2021-04-19 | remove E0723 error code | Ralf Jung | -8/+6 | |
| 2021-04-19 | fix few typos | klensy | -2/+2 | |
| 2021-04-19 | add gate tests and pacify tidy | Ralf Jung | -1/+1 | |
| 2021-04-18 | separate feature flag for unsizing casts in const fn | Ralf Jung | -22/+9 | |
| 2021-04-18 | move 'trait bounds on const fn' to separate feature gate | Ralf Jung | -3/+8 | |
| 2021-03-31 | Track bound vars | Jack Huey | -3/+6 | |
| 2021-03-22 | Rollup merge of #83351 - RalfJung:precise-const-drop, r=oli-obk | Dylan DPC | -1/+7 | |
| post-drop-elab check-const: explain why we still check qualifs r? `@oli-obk` | ||||
| 2021-03-21 | post-drop-elab check-const: explain why we still check qualifs | Ralf Jung | -1/+7 | |
| 2021-03-20 | extract `ConstKind::Unevaluated` into a struct | lcnr | -1/+1 | |
| 2021-03-12 | Prepare mir::Constant for ty::Const only supporting valtrees | Oli Scherer | -17/+19 | |
| 2021-03-09 | Update match branches | kadmin | -0/+1 | |
| This updates all places where match branches check on StatementKind or UseContext. This doesn't properly implement them, but adds TODOs where they are, and also adds some best guesses to what they should be in some cases. | ||||
| 2021-03-08 | Auto merge of #82727 - oli-obk:shrinkmem, r=pnkfelix | bors | -3/+3 | |
| Test the effect of shrinking the size of Rvalue by 16 bytes r? `@ghost` | ||||
| 2021-03-05 | Shrink the size of Rvalue by 16 bytes | Oli Scherer | -3/+3 | |
| 2021-03-04 | Auto merge of #81114 - bugadani:generator, r=estebank | bors | -1/+1 | |
| Box generator-related Body fields Might save some memory on functions that aren't generators. | ||||
| 2021-03-02 | Rollup merge of #80734 - abonander:ab/issue-66693, r=oli-obk | Guillaume Gomez | -2/+22 | |
| check that first arg to `panic!()` in const is `&str` closes #66693 ~~TODO: regression test~~ cc `@RalfJung` for error message wording | ||||
