summary refs log tree commit diff
path: root/src/librustc_mir_build
AgeCommit message (Expand)AuthorLines
2020-04-21Auto merge of #71170 - spastorino:dyn-fnonce-alignment, r=nikomatsakisbors-4/+130
2020-04-20tweak commentsNiko Matsakis-5/+10
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-13/+20
2020-04-18Make Box<dyn FnOnce> respect self alignmentSantiago Pastorino-3/+124
2020-04-17Auto merge of #71049 - eddyb:const-err, r=oli-obkbors-11/+6
2020-04-16mir/interpret: only use `ErrorHandled::Reported` for `ErrorReported`.Eduard-Mihai Burtescu-1/+2
2020-04-16Partially revert "Do not ICE in the face of invalid enum discriminant"Eduard-Mihai Burtescu-10/+4
2020-04-16Rollup merge of #71179 - matthiaskrgr:cl6ppy, r=Dylan-DPCDylan DPC-60/+49
2020-04-16don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger-60/+49
2020-04-15Do not ICE in the face of invalid enum discriminantEsteban Küber-4/+10
2020-04-15Rollup merge of #70891 - lcnr:replace-rvalue_aggregate, r=eddybMazdak Farrokhzad-9/+15
2020-04-14Rename AssocKind::Method to AssocKind::FnRustin-Liu-1/+1
2020-04-13unit rvalue: use constant `()` instead of tupleBastian Kauschke-9/+15
2020-04-09Use tri-color search for unconditional recursion lintDylan MacKenzie-135/+111
2020-04-07Further improve commentsJonas Schievink-3/+4
2020-04-07Add some more commentsJonas Schievink-0/+11
2020-04-06Add some comments and rename variableJonas Schievink-2/+9
2020-04-06Merge redundant match armsJonas Schievink-11/+8
2020-04-06Move closure check upwardsJonas Schievink-7/+6
2020-04-06Don't lint for self-recursion when the function can divergeJonas Schievink-92/+114
2020-04-05Stop importing int/float modules in librustc_*Linus Färnstrand-3/+0
2020-04-02direct imports for langitem stuffMazdak Farrokhzad-6/+6
2020-04-02use direct import for ErrorReportedMazdak Farrokhzad-1/+1
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-15/+18
2020-03-31Use Place directly in librustc_mir_build, it's CopySantiago Pastorino-63/+55
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-23/+16
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-32/+36
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-95/+95
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-1/+1
2020-03-27Rollup merge of #70457 - Centril:non-exhaustive-scrutinee-type, r=estebankMazdak Farrokhzad-0/+2
2020-03-27non-exhastive diagnostic: add note re. scrutinee typeMazdak Farrokhzad-0/+2
2020-03-27Auto merge of #68404 - Amanieu:llvm-asm, r=estebankbors-10/+10
2020-03-26Rollup merge of #70413 - AminArria:match-pattern-incorrect-warning, r=Centril...Dylan DPC-8/+41
2020-03-26Rename asm! to llvm_asm!Amanieu d'Antras-10/+10
2020-03-26Fix incorrect pattern warning "unreachable pattern"Amin Arria-8/+41
2020-03-26Rollup merge of #69866 - estebank:guess_head_span, r=eddybMazdak Farrokhzad-1/+1
2020-03-25Rename `def_span` to `guess_head_span`Esteban Küber-1/+1
2020-03-25make Size::from* methods generic in the integer type they acceptRalf Jung-3/+3
2020-03-24Rollup merge of #68884 - Zoxc:gen-type, r=nikomatsakisMazdak Farrokhzad-1/+2
2020-03-24Rollup merge of #69981 - oli-obk:const_blocks, r=eddybMazdak Farrokhzad-30/+4
2020-03-23Address review commentsOliver Scherer-2/+2
2020-03-23Make the `type_of` return a generic type for generatorsJohn Kåre Alsaker-1/+2
2020-03-23Use `DefId`s to identify anon consts when converting from HIR to ty::ConstOliver Scherer-0/+1
2020-03-23Evaluate repeat expression lengths as late as possibleOliver Scherer-30/+3
2020-03-23Rollup merge of #69968 - eddyb:tupled-closure-captures, r=nikomatsakisMazdak Farrokhzad-9/+7
2020-03-23Rollup merge of #70269 - matthiaskrgr:clippy_closures, r=Dylan-DPCMazdak Farrokhzad-1/+1
2020-03-22remove redundant closures (clippy::redundant_closure)Matthias Krüger-1/+1
2020-03-21remove unused unit values (clippy::unused_unit)Matthias Krüger-4/+1
2020-03-21make some let-if-bindings more idiomatic (clippy::useless_let_if_seq)Matthias Krüger-4/+5
2020-03-21rustc: keep upvars tupled in {Closure,Generator}Substs.Eduard-Mihai Burtescu-9/+7