summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/lib.rs
AgeCommit message (Collapse)AuthorLines
2023-01-18Also remove `#![feature(control_flow_enum)]` where possibleScott McMurray-1/+0
2023-01-11Migrate pattern matchingmejrs-0/+1
2022-12-17Migrate "function cannot return without recursing" diagnosticTheOddGarlic-0/+1
2022-11-21Some cleanup around trait_method lookupOli Scherer-0/+1
2022-10-09Skip chained OpaqueCast when building captures.Camille GILLOT-0/+1
2022-09-26remove cfg(bootstrap)Pietro Albini-1/+0
2022-09-15Only enable the let_else feature on bootstrapest31-1/+1
On later stages, the feature is already stable. Result of running: rg -l "feature.let_else" compiler/ src/librustdoc/ library/ | xargs sed -s -i "s#\\[feature.let_else#\\[cfg_attr\\(bootstrap, feature\\(let_else\\)#"
2022-08-29Revert let_chains stabilizationNilstrieb-0/+1
This reverts commit 326646074940222d602f3683d0559088690830f4. This is the revert against master, the beta revert was already done in #100538.
2022-08-12Adjust cfgsMark Rousskov-1/+0
2022-07-16Stabilize `let_chains`Caio-1/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+0
2022-05-16use GlobalId in eval_to_valtree query and introduce query for ↵b-naber-0/+1
valtree_to_const_val
2022-05-05Rollup merge of #96628 - joshtriplett:stabilize-then-some, r=m-ou-seYuki Okushi-1/+0
Stabilize `bool::then_some` FCP completed in https://github.com/rust-lang/rust/issues/80967
2022-05-04Stabilize `bool::then_some`Josh Triplett-1/+0
2022-05-04Generate an intermediate temporary for `Drop` constants.Oli Scherer-0/+1
To limit the fallout from this, don't do this for the last (or only) operand in an rvalue.
2022-02-286 - Make more use of `let_chains`Caio-3/+4
Continuation of #94376. cc #53667
2022-02-25Switch bootstrap cfgsMark Rousskov-1/+1
2022-02-01add a rustc::query_stability lintlcnr-0/+1
2021-12-14Stabilize iter::zip.PFPoitras-1/+0
2021-10-28Revert "Add rustc lint, warning when iterating over hashmaps"Mark Rousskov-1/+0
2021-10-24Rollup merge of #89558 - lcnr:query-stable-lint, r=estebankMatthias Krüger-0/+1
Add rustc lint, warning when iterating over hashmaps r? rust-lang/wg-incr-comp
2021-10-16Adopt let_else across the compilerest31-0/+1
This performs a substitution of code following the pattern: let <id> = if let <pat> = ... { identity } else { ... : ! }; To simplify it to: let <pat> = ... { identity } else { ... : ! }; By adopting the let_else feature.
2021-10-15allow `potential_query_instability` everywherelcnr-0/+1
2021-08-18Remove box syntax from rustc_mir_buildest31-1/+0
2021-07-24Support -Z unpretty=thir-tree againSmitty-0/+1
2021-05-31Remove unused feature gatesbjorn3-3/+0
2021-05-26Specialize implementationsJacob Pratt-0/+2
Implementations in stdlib are now optimized as they were before.
2021-05-25Auto merge of #84985 - pietroalbini:bootstrap-1.54, r=Mark-Simulacrumbors-1/+0
Bump bootstrap compiler to beta 1.53.0 This PR bumps the bootstrap compiler to version 1.53.0 beta, as part of our usual release process (this was supposed to be Wednesday's step, but creating the beta release took longer than expected). The PR also includes the "Bootstrap: skip rustdoc fingerprint for building docs" commit, see the reasoning [on Zulip](https://zulip-archive.rust-lang.org/241545trelease/88450153betabootstrap.html). r? `@Mark-Simulacrum`
2021-05-24remove cfg(bootstrap)Pietro Albini-1/+0
2021-05-22Make THIR building a stealable queryLeSeulArtichaut-0/+1
2021-05-11Introduce the (WIP) THIR unsafety checkerLeSeulArtichaut-0/+3
2021-04-18fix feature use in rustc libsRalf Jung-1/+0
2021-03-26Use iter::zip in compiler/Josh Stone-0/+1
2021-03-19stabilize or_patternsmark-1/+1
2021-03-11Make THIR data structures publicLeSeulArtichaut-1/+1
2020-10-27Cache head constructor in PatStackNadrieril-0/+1
Since the constructor is recomputed a lot, caching is worth it.
2020-09-20use `array_windows` instead of `windows` in the compilerBastian Kauschke-1/+1
2020-09-04Use ops::ControlFlow in graph::iterateScott McMurray-0/+1
2020-08-30mv compiler to compiler/mark-0/+29