about summary refs log tree commit diff
path: root/src/librustc_mir/util
AgeCommit message (Expand)AuthorLines
2020-04-27Emit basic block ids for statements and terminators in MIR only in -Zverbose ...Oliver Scherer-5/+5
2020-04-26fmtRalf Jung-1/+1
2020-04-26print pointers more compactly when they are too bigRalf Jung-0/+4
2020-04-26sync alloc dump and pointer printingRalf Jung-11/+14
2020-04-26remove obsolete commentTshepang Lekhonkhobe-7/+0
2020-04-24Remove `Option` from the return type of `def_kind`.Eduard-Mihai Burtescu-4/+4
2020-04-24add a few more DefKindsmark-1/+1
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-1/+1
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-1/+1
2020-04-22Use `Body` everywhereDylan MacKenzie-6/+6
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-3/+3
2020-04-17Minor fix and addition to doc commentsJOE1994-0/+1
2020-04-16don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger-12/+12
2020-04-11Pass the `PlaceElem::Index` local to `visit_local`Jonas Schievink-12/+1
2020-04-09Use `Visitor` for `AlwaysLiveLocals`Dylan MacKenzie-14/+19
2020-04-09Add utility to find locals that don't use `Storage*` annotationsDylan MacKenzie-0/+43
2020-04-08Suggest move for closures and async blocks in more cases.Alex Aktsipetrov-1/+3
2020-04-04share more alloc printing code between Miri and MIR dumpingRalf Jung-26/+44
2020-04-02direct imports for langitem stuffMazdak Farrokhzad-1/+1
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-3/+4
2020-04-01Rollup merge of #70627 - spastorino:use-place-directly-its-copy, r=oli-obkMazdak Farrokhzad-40/+37
2020-04-01Rollup merge of #70511 - ecstatic-morse:mir-dataflow-graphviz, r=davidtwcoMazdak Farrokhzad-4/+4
2020-03-31Use Place directly, it's Copy even more use casesSantiago Pastorino-20/+20
2020-03-31Use Place directly, it's Copy more use casesSantiago Pastorino-21/+18
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-5/+3
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-15/+17
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-31/+31
2020-03-29Use `&` to do deref coercion for `ReadOnlyBodyAndCache`Dylan MacKenzie-1/+1
2020-03-29Make `Visitor::visit_body` take a simple `Body`Dylan MacKenzie-5/+4
2020-03-28`dump_enabled` takes a `DefId` instead of `MirSource`Dylan MacKenzie-4/+4
2020-03-26Enable `--bless`ing of MIR dumpsOliver Scherer-20/+262
2020-03-26borrowck diagnostics: address review comments.Mazdak Farrokhzad-4/+3
2020-03-25borrowck: prefer "value" over "`_`".Mazdak Farrokhzad-17/+17
2020-03-23Rollup merge of #70080 - anyska:mir-double-space, r=oli-obkMazdak Farrokhzad-1/+1
2020-03-21rustc: keep upvars tupled in {Closure,Generator}Substs.Eduard-Mihai Burtescu-4/+4
2020-03-17rustc_mir: remove extra space when pretty-printing MIR.Ana-Maria Mihalache-1/+1
2020-03-14Rollup merge of #69802 - matthiaskrgr:cl1ppy, r=Dylan-DPCYuki Okushi-7/+7
2020-03-12Rollup merge of #69674 - mark-i-m:assoc-fn, r=matthewjasperMazdak Farrokhzad-1/+1
2020-03-07libtest: remove redundant argument to writeln!() (clippy::writeln_empty_string)Matthias Krüger-7/+7
2020-03-07Rollup merge of #69773 - matthiaskrgr:typos, r=petrochenkovMazdak Farrokhzad-2/+2
2020-03-07Rollup merge of #69782 - matthiaskrgr:redundant_field_name_rep, r=cramertjMazdak Farrokhzad-3/+3
2020-03-06Don't redundantly repeat field names (clippy::redundant_field_names)Matthias Krüger-3/+3
2020-03-06fix various typosMatthias Krüger-2/+2
2020-03-03DefKind::Method -> DefKind::AssocFnMark Mansi-1/+1
2020-03-03Use .next() instead of .nth(0) on iterators.Matthias Krüger-1/+1
2020-03-01Auto merge of #68943 - ecstatic-morse:no-useless-drop-on-enum-variants, r=mat...bors-15/+30
2020-02-29Rollup merge of #69567 - matthiaskrgr:useless_fmt, r=nagisaDylan DPC-1/+1
2020-02-29use .to_string() instead of format!() macro to create stringsMatthias Krüger-1/+1
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-2/+2
2020-02-27don't use .into() to convert types into identical types.Matthias Krüger-1/+0