summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/check_consts
AgeCommit message (Expand)AuthorLines
2021-04-29don't let const_fn feature flag affect impl-block-level trait boundsRalf Jung-11/+2
2021-04-24Auto merge of #84310 - RalfJung:const-fn-feature-flags, r=oli-obkbors-32/+22
2021-04-19remove E0723 error codeRalf Jung-8/+6
2021-04-19fix few typosklensy-2/+2
2021-04-19add gate tests and pacify tidyRalf Jung-1/+1
2021-04-18separate feature flag for unsizing casts in const fnRalf Jung-22/+9
2021-04-18move 'trait bounds on const fn' to separate feature gateRalf Jung-3/+8
2021-03-31Track bound varsJack Huey-3/+6
2021-03-22Rollup merge of #83351 - RalfJung:precise-const-drop, r=oli-obkDylan DPC-1/+7
2021-03-21post-drop-elab check-const: explain why we still check qualifsRalf Jung-1/+7
2021-03-20extract `ConstKind::Unevaluated` into a structlcnr-1/+1
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-17/+19
2021-03-09Update match brancheskadmin-0/+1
2021-03-08Auto merge of #82727 - oli-obk:shrinkmem, r=pnkfelixbors-3/+3
2021-03-05Shrink the size of Rvalue by 16 bytesOli Scherer-3/+3
2021-03-04Auto merge of #81114 - bugadani:generator, r=estebankbors-1/+1
2021-03-02Rollup merge of #80734 - abonander:ab/issue-66693, r=oli-obkGuillaume Gomez-2/+22
2021-03-01check that first arg to `panic!()` in const is `&str`Austin Bonander-2/+22
2021-03-01Box generator-related Body fieldsDániel Buga-1/+1
2021-02-23Rollup merge of #82091 - henryboisdequin:use-place-ref-more, r=RalfJungDylan DPC-11/+12
2021-02-21remove redundant wrapping of return types of allow_internal_unstable() and ru...Matthias Krüger-2/+1
2021-02-16make `visit_projection` take a `PlaceRef`Henry Boisdequin-12/+2
2021-02-16update formatingHenry Boisdequin-6/+16
2021-02-14use option<PlaceRef<'tcx>> to clean up mir code a littleHenry Boisdequin-9/+10
2021-02-11Auto merge of #81350 - tmiasko:instrument-debug, r=lcnrbors-1/+1
2021-01-24Reduce log level used by tracing instrumentation from info to debugTomasz Miąsko-1/+1
2021-01-23Do not allow arbitrary mutable references in `static mut`, just keep with the...oli-6/+2
2021-01-23Adjust wording of a diagnosticoli-1/+1
2021-01-23Permit mutable references in all const contextsoli-28/+72
2021-01-18Auto merge of #80707 - oli-obk:stability_hole_const_intrinsics, r=RalfJungbors-8/+18
2021-01-18Only inherit const stability for methods of `impl const Trait` blocksoli-1/+1
2021-01-18Auto merge of #80865 - oliviacrain:proj_based, r=RalfJungbors-34/+29
2021-01-17Add regression testoli-5/+15
2021-01-17Remove an unnecessary field from a `NonConstOp`oli-3/+3
2021-01-16Review changesJack Huey-12/+12
2021-01-16Use PlaceRef more consistently in rustc_mirOlivia Crain-34/+29
2021-01-03Stylistic fixes to diagnostic messagesoli-3/+3
2021-01-03Refactor the non-transient cell borrow error diagnosticoli-3/+22
2021-01-03Dangling pointers point to everything and nothingOli Scherer-2/+1
2021-01-03Grammar fixesOli Scherer-1/+1
2021-01-03Update now-more-precise operation with a preciser messageoli-2/+2
2021-01-03Apply suggestions from code reviewOli Scherer-4/+9
2021-01-01Don't mix feature gates and hard errors, decide on one per op and stick with itoli-15/+18
2021-01-01Reinstate the error-code error over the feature gate erroroli-9/+15
2021-01-01Enhance some commentsoli-0/+2
2021-01-01Fix cell checks in const fnoli-0/+7
2021-01-01The proper name for the rule is "enclosing scope"oli-1/+1
2021-01-01Allow references to interior mutable data behind a feature gateoli-1/+53
2020-12-19also const-check FakeReadRalf Jung-6/+5
2020-11-22const fn: allow use of trait impls from boundsJonas Schievink-4/+36