about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/check_consts
AgeCommit message (Expand)AuthorLines
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
2020-11-15Rollup merge of #77802 - jyn514:bootstrap-specific, r=nikomatsakisJonas Schievink-2/+1
2020-11-12review commentsVishnunarayan K I-7/+8
2020-11-12fix tests and formattingVishnunarayan K I-2/+10
2020-11-12add error_occured field to ConstQualifs, fix #76064Vishnunarayan K I-4/+6
2020-11-07Allow making `RUSTC_BOOTSTRAP` conditional on the crate nameJoshua Nelson-2/+1
2020-10-25Rollup merge of #78208 - liketechnik:issue-69399, r=oli-obkYuki Okushi-7/+15
2020-10-23rename allow_internal_unstable() to rustc_allow_const_fn_unstable() in rustc_mirFlorian Warzecha-3/+11
2020-10-22Fix const core::panic!(non_literal_str).Mara Bos-1/+3