about summary refs log tree commit diff
path: root/src/librustc_mir/build/matches/mod.rs
AgeCommit message (Expand)AuthorLines
2020-01-12Split `rustc_mir::{build, hair, lints}` into their own crateMatthew Jasper-1671/+0
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-3/+3
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-1/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-25Use link in doc commentmatthewjasper-1/+2
2019-12-25Split `match_expr` into smaller functionsMatthew Jasper-108/+164
2019-12-25Remove `-Znll-dont-emit-read-for-match`Matthew Jasper-7/+1
2019-12-24x.py fmt after previous deignoreMark Rousskov-281/+169
2019-12-21simplify MIR building with cfg.goto(...)Mazdak Farrokhzad-28/+7
2019-12-21misc cleanup in match MIR buildingMazdak Farrokhzad-23/+19
2019-12-16Rollup merge of #67325 - Centril:push-fake-read, r=matthewjasperMazdak Farrokhzad-37/+9
2019-12-15cleanup with push_fake_readMazdak Farrokhzad-37/+9
2019-12-15Fix repetition in matches/mod.rsMazdak Farrokhzad-2/+1
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebug...Eduard-Mihai Burtescu-4/+14
2019-11-24Auto merge of #66540 - nnethercote:SmallVec-Candidate-match_pairs, r=matthewj...bors-3/+4
2019-11-21Track pointers to statics in MIRMatthew Jasper-13/+15
2019-11-19Use a `SmallVec` for `Candidate::match_pairs`.Nicholas Nethercote-3/+4
2019-10-22Intern place projectionSantiago Pastorino-2/+2
2019-10-22Pattern match over PlaceRef rather than PlaceSantiago Pastorino-1/+1
2019-10-09Revert "Make `into` schedule drop for the destination"Matthew Jasper-15/+5
2019-10-07Auto merge of #61430 - matthewjasper:drop-on-into-panic, r=oli-obkbors-9/+16
2019-10-04Make `into` schedule drop for the destinationMatthew Jasper-5/+15
2019-09-29remove bit_set re-export from rustc_data_structurescsmoe-1/+1
2019-09-29Get the type of a local from `local_decls` in `schedule_drop`Matthew Jasper-4/+1
2019-09-26Rename `hair::Pattern` to `hair::Pat`varkor-7/+7
2019-09-26Rename `PatternTypeProjection` to `PatTyProj`varkor-1/+1
2019-09-26Rename `hair::PatternRange` to `hair::PatRange`varkor-1/+1
2019-09-26Rename `hair::PatternKind` to `hair::PatKind`varkor-12/+12
2019-09-25Rollup merge of #64508 - Centril:or-pat-hir, r=matthewjasperMazdak Farrokhzad-3/+3
2019-09-16Use while let slice_pattern instead of carrying an index aroundSantiago Pastorino-2/+3
2019-09-16or-patterns: HAIR: `Arm.patterns: Vec<Pattern<'_>>` -> `.pattern: Pattern<'_>`.Mazdak Farrokhzad-3/+3
2019-09-13Auto merge of #63420 - spastorino:place2_5, r=oli-obkbors-26/+29
2019-09-11Make Place Boxed on Statement to reduce size from 64 bytes to 32 bytesSantiago Pastorino-11/+15
2019-09-09Use rposition to find the position of an elemSantiago Pastorino-8/+7
2019-09-09Convert Place's projection to a boxed sliceSantiago Pastorino-9/+9
2019-09-08Update bind_and_guard_matched_candidate docs.Mazdak Farrokhzad-7/+3
2019-08-17initial implementation of or-pattern parsingDan Robertson-2/+1
2019-08-17Initial implementation of or patternsvarkor-0/+6
2019-07-22Place::as_place_ref is now Place::as_refSantiago Pastorino-1/+1
2019-07-20Avoid cloning Place in calculate_fake_borrowsSantiago Pastorino-8/+17
2019-07-20Migrate from Place enum to Place structSantiago Pastorino-13/+19
2019-07-06normalize use of backticks/lowercase in compiler messages for librustc_mirSamy Kacimi-1/+1
2019-07-04Break out of the correct number of scopes in loopsMatthew Jasper-5/+7
2019-06-25Use `Local`s instead of `Place`s in MIR drop generationMatthew Jasper-4/+3
2019-06-25Add StorageDead statements for `while` conditionsMatthew Jasper-38/+11
2019-06-25Avoid checking if references implement dropMatthew Jasper-10/+0
2019-06-25Implement From<Local> for Place and PlaceBaseSantiago Pastorino-5/+5
2019-06-18rustc: reintroduce lifetime bounds where necessary.Eduard-Mihai Burtescu-1/+1
2019-06-18rustc: remove leftover lifetimes with no bounds from where clauses.Eduard-Mihai Burtescu-1/+1
2019-06-18rustc: remove 'x: 'y bounds (except from comments/strings).Eduard-Mihai Burtescu-3/+3