summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/check_consts
AgeCommit message (Expand)AuthorLines
2024-11-20reduce false positives of tail-expr-drop-order from consumed valuesDing Xiang Fei-0/+1
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-4/+1
2024-11-18Auto merge of #132460 - lcnr:questionable-uwu, r=compiler-errorsbors-33/+31
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-33/+31
2024-11-18rename rustc_const_stable_intrinsic -> rustc_intrinsic_const_stable_indirectRalf Jung-1/+1
2024-11-13check_consts: fix error requesting feature gate when that gate is not actuall...Ralf Jung-12/+36
2024-11-12allow rustc_private feature in force-unstable-if-unmarked cratesRalf Jung-3/+20
2024-11-10ensure that all publicly reachable const fn have const stability infoRalf Jung-17/+20
2024-11-10honor rustc_const_stable_indirect in non-staged_api crate with -Zforce-unstab...Ralf Jung-3/+4
2024-11-09give a hint which feature is missingRalf Jung-15/+11
2024-11-09require const_impl_trait gate for all conditional and trait const callsRalf Jung-69/+59
2024-11-04when an intrinsic has a const-stable fallback body, we can easily expose it o...Ralf Jung-4/+12
2024-11-04add new rustc_const_stable_intrinsic attribute for const-stable intrinsicsRalf Jung-7/+10
2024-11-03Rename the FIXMEs, remove a few that dont matter anymoreMichael Goulet-3/+4
2024-11-03Gate checking ~const bounds on const_trait_implMichael Goulet-9/+3
2024-11-01Completely deny calling functions with const conditions in MIR const check un...Michael Goulet-18/+22
2024-11-01Double-check conditional constness in MIRMichael Goulet-26/+62
2024-10-31stop using `ParamEnv::reveal` while handling MIRlcnr-2/+2
2024-10-31`ConstCx` stop using `ParamEnv::reveal`lcnr-11/+4
2024-10-30Rollup merge of #132338 - nnethercote:rm-Engine, r=nnethercoteMatthias Krüger-8/+4
2024-10-30Remove `Analysis::into_engine`.Nicholas Nethercote-8/+4
2024-10-29TypingMode :thinking:lcnr-9/+9
2024-10-26Deny calls to non-`#[const_trait]` methods in MIR constckDeadbeef-10/+19
2024-10-25tcx.is_const_fn doesn't work the way it is described, remove itRalf Jung-4/+4
2024-10-25Re-do recursive const stability checksRalf Jung-129/+253
2024-10-23nightly feature tracking: get rid of the per-feature bool fieldsRalf Jung-4/+4
2024-10-22terminology: #[feature] *enables* a feature (instead of "declaring" or "activ...Ralf Jung-6/+6
2024-10-20Rip out old effects var handling code from traitsMichael Goulet-49/+4
2024-10-14Merge `AnalysisDomain` into `Analysis`.Nicholas Nethercote-7/+2
2024-10-08fix/update teach_note from 'escaping mutable ref/ptr' const-checkRalf Jung-3/+4
2024-09-26Stabilize `const_refs_to_static`Ding Xiang Fei-29/+0
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-1/+2
2024-09-24unify dyn* coercions with other pointer coercionsLukas Markeffsky-6/+6
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-18/+14
2024-09-15also stabilize const_refs_to_cellRalf Jung-77/+21
2024-09-15const_refs_to_cell: dont let mutable references sneak past the interior mutab...Ralf Jung-1/+12
2024-09-15clean up const checking of mutable referencesRalf Jung-77/+2
2024-09-15stabilize const_mut_refsRalf Jung-199/+9
2024-09-14Auto merge of #128543 - RalfJung:const-interior-mut, r=fee1-deadbors-2/+3
2024-09-13Rename and reorder lots of lifetimes.Nicholas Nethercote-3/+3
2024-09-10const-eval interning: accpt interior mutable pointers in final value (but kee...Ralf Jung-2/+3
2024-09-03Add `warn(unreachable_pub)` to `rustc_const_eval`.Nicholas Nethercote-23/+23
2024-08-31Rollup merge of #129659 - RalfJung:const-fn-lang-feat, r=fee1-deadMatthias Krüger-3/+1
2024-08-31const fn stability checking: also check declared language featuresRalf Jung-3/+1
2024-08-27Rollup merge of #129507 - RalfJung:per-fn-const_precise_live_drops, r=wesleyw...Matthias Krüger-2/+8
2024-08-26Auto merge of #129508 - RalfJung:transient-locals, r=cjgillotbors-18/+32
2024-08-25make it possible to enable const_precise_live_drops per-functionRalf Jung-2/+8
2024-08-25dont iterate over the bitsetRalf Jung-4/+2
2024-08-25only visit reachable blocks, do not use a visitorRalf Jung-28/+16
2024-08-24const checking: properly compute the set of transient localsRalf Jung-17/+45