about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2021-05-24remove cfg(bootstrap)Pietro Albini-1/+0
2021-05-24Make `thir_check_unsafety` itself responsible for checking gateLeSeulArtichaut-9/+12
2021-05-24Add comments about stealing THIR in `mir_build`LeSeulArtichaut-0/+4
2021-05-24Replace more "NULL" with "null"LeSeulArtichaut-1/+1
2021-05-23Replace Local::new(1) with CAPTURE_STRUCT_LOCALPaul Trojahn-7/+4
2021-05-23support creating mutable allocations from byte slicesRalf Jung-2/+2
2021-05-22Handle typeck errors properlyLeSeulArtichaut-0/+8
2021-05-22Make the THIR unsafeck use the `thir_body` queryLeSeulArtichaut-24/+23
2021-05-22Make THIR building a stealable queryLeSeulArtichaut-20/+22
2021-05-22Move THIR structure definitions to `rustc_middle`LeSeulArtichaut-825/+89
2021-05-21Revert portion of PR #83521 that injected issue #85435 (and thus exposed unde...Felix S. Klock II-15/+20
2021-05-21Check for use of mutable/extern statics in THIR unsafeckLeSeulArtichaut-6/+10
2021-05-21Check for ptr-to-int casts in const functions in THIR unsafeckLeSeulArtichaut-1/+17
2021-05-21Check for initialization of layout-restricted typesLeSeulArtichaut-1/+13
2021-05-20Check for calls to functions with `#[target_feature]` in THIR unsafeckLeSeulArtichaut-4/+27
2021-05-20Check for raw pointer dereference in THIR unsafeckLeSeulArtichaut-1/+5
2021-05-19Auto merge of #83842 - LeSeulArtichaut:thir-vec, r=nikomatsakisbors-709/+775
2021-05-19Adapt the THIR visitor to the vec-stored THIRLeSeulArtichaut-95/+96
2021-05-19Store THIR in `IndexVec`s instead of an `Arena`LeSeulArtichaut-614/+679
2021-05-17Remove remnants of BorrowOfPackedFieldLeSeulArtichaut-37/+22
2021-05-14Check for inline assembly in THIR unsafeckSmitty-1/+3
2021-05-14Auto merge of #85233 - FabianWolff:issue-85227, r=petrochenkovbors-1/+10
2021-05-14Auto merge of #85195 - Mark-Simulacrum:variant-by-idx, r=petrochenkovbors-10/+7
2021-05-12Improve error message for non-exhaustive matches on non-exhaustive enumsFabian Wolff-1/+10
2021-05-11Store VariantIdx to distinguish enum variantsMark Rousskov-10/+7
2021-05-11Add helper for switching safety contextsLeSeulArtichaut-49/+72
2021-05-11Introduce the (WIP) THIR unsafety checkerLeSeulArtichaut-0/+322
2021-05-11[WIP] Create a `Visitor` for the THIRLeSeulArtichaut-0/+179
2021-04-24Auto merge of #84310 - RalfJung:const-fn-feature-flags, r=oli-obkbors-1/+0
2021-04-20Auto merge of #84295 - richkadel:continue-coverage, r=tmandrybors-0/+15
2021-04-19fix few typosklensy-2/+2
2021-04-18fix feature use in rustc libsRalf Jung-1/+0
2021-04-18Only generate dummy assign when instrumenting coverageRich Kadel-10/+15
2021-04-18Add coverage to continue statementsRich Kadel-0/+10
2021-04-13move new c abi abort behavior behind feature gatekatelyn a. martin-1/+5
2021-04-08rustc: Add a new `wasm` ABIAlex Crichton-0/+1
2021-04-07Rollup merge of #83916 - Amanieu:asm_anonconst, r=petrochenkovDylan DPC-6/+13
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-6/+13
2021-04-02Reduce size of statementsRoxane-1/+1
2021-04-02Fix diagnostic issue when using FakeReads in closuresRoxane-21/+17
2021-04-02Auto merge of #83207 - oli-obk:valtree2, r=lcnrbors-12/+14
2021-04-02Auto merge of #83663 - AngelicosPhosphoros:simplify_binary_and_to_get_better_...bors-29/+18
2021-04-01Simplify logical operations CFGAngelicosPhosphoros-29/+18
2021-03-31Add var to BoundRegion. Add query to get bound vars for applicable items.Jack Huey-2/+7
2021-03-29Convert a closure into a methodOli Scherer-12/+14
2021-03-26Use iter::zip in compiler/Josh Stone-4/+6
2021-03-22Auto merge of #79278 - mark-i-m:stabilize-or-pattern, r=nikomatsakisbors-1/+1
2021-03-20extract `ConstKind::Unevaluated` into a structlcnr-8/+8
2021-03-19stabilize or_patternsmark-1/+1
2021-03-18Replace closures_captures and upvar_capture with closure_min_capturesJennifer Wills-1/+1