{"push_id":916270309,"size":2,"distinct_size":0,"ref":"refs/heads/master","head":"0e9f6ecd0e38b22373e4ba1095a571cd635822bc","before":"b4707ebca321e9ea9e73a3b061b2213c2a9bdf14","commits":[{"sha":"575f690b39559160e31930726b5629dfbd3526fa","author":{"email":"d5e0892e7d66bcce47406a02632e7b4f50cda414@gmail.com","name":"Björn Steinbrink"},"message":"Fix `auto_ref()` for fat pointers\n\n`auto_ref()` currently returns an Rvalue datum for the ref'd value,\nwhich is fine for thin pointers, but for fat pointers this means that\nonce the pointer is moved out of that datum, its memory will be marked\nas dead. And because there is not necessarily an intermediate temporary\ninvolved we can end up marking memory as dead that is actually still\nused.\n\nAs I don't want to break the micro-optimization for thin pointers by\nalways returning an Lvalue datum, I decided to only do so for fat\npointers.\n\nFix #30478","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/575f690b39559160e31930726b5629dfbd3526fa"},{"sha":"0e9f6ecd0e38b22373e4ba1095a571cd635822bc","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #30579 - dotdash:30478, r=arielb1\n\n`auto_ref()` currently returns an Rvalue datum for the ref'd value,\nwhich is fine for thin pointers, but for fat pointers this means that\nonce the pointer is moved out of that datum, its memory will be marked\nas dead. And because there is not necessarily an intermediate temporary\ninvolved we can end up marking memory as dead that is actually still\nused.\n\nAs I don't want to break the micro-optimization for thin pointers by\nalways returning an Lvalue datum, I decided to only do so for fat\npointers.\n\nFix #30478","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/0e9f6ecd0e38b22373e4ba1095a571cd635822bc"}]}