{"push_id":870013168,"size":2,"distinct_size":0,"ref":"refs/heads/auto","head":"716a00d52eb142b931fd689dc54c9e708ca509d4","before":"1715f1cf7f345407f6929f0b028c4c8a1842fe9c","commits":[{"sha":"0ce26db381aa3bafa86fa05ed6259121b2805a85","author":{"email":"4fb647a2c3ead3c3f40f455abb861941f7d4ffb2@posteo.net","name":"Michael Woerister"},"message":"MIR: Add pass that erases all regions right before trans","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/0ce26db381aa3bafa86fa05ed6259121b2805a85"},{"sha":"716a00d52eb142b931fd689dc54c9e708ca509d4","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #29886 - michaelwoerister:mir-erase-regions, r=nikomatsakis\n\nThis change adds a `MirPass` erasing all early-bound regions from MIR, right before storing it in the MIR map. I've added some assertions at neuralgic points in `trans::mir` doing cheap checks whether region have actually been erased.\n\nHere are some assumptions that I worked under:\n- AdtDef references stay untouched. It's the `Substs` accompanying them that need to be handled (e.g. in `AggregateKind::Adt`).\n- We can't really get rid of late-bound regions at this point because there is no version `BareFnTy` (for example) that comes without one. These still have to be handled on demand in trans.\n\nAre this assumptions right?\n\nr? @nikomatsakis","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/716a00d52eb142b931fd689dc54c9e708ca509d4"}]}