summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/lints.rs
AgeCommit message (Collapse)AuthorLines
2020-10-22Don't re-export std::ops::ControlFlow in the compiler.Leonora Tindall-1/+2
2020-10-21Fix formattingbishtpawan-6/+7
2020-10-20Fix build failure of rustfmtbishtpawan-2/+3
2020-10-04Replace `(Body, DefId)` with `Body` where possibleDylan MacKenzie-12/+11
A `Body` now contains its `MirSource`, which in turn contains the `DefId` of the item associated with the `Body`.
2020-09-07Rollup merge of #76318 - scottmcm:one-control-flow, r=ecstatic-morseDylan DPC-3/+3
Use ops::ControlFlow in rustc_data_structures::graph::iterate Since I only know about this because you mentioned it, r? @ecstatic-morse If we're not supposed to use new `core` things in compiler for a while then feel free to close, but it felt reasonable to merge the two types since they're the same, and it might be convenient for people to use `?` in their traversal code. (This doesn't do the type parameter swap; NoraCodes has signed up to do that one.)
2020-09-04Change ty.kind to a methodLeSeulArtichaut-1/+1
2020-09-04Use ops::ControlFlow in graph::iterateScott McMurray-3/+3
2020-08-30mv compiler to compiler/mark-0/+161