{"push_id":2093723548,"size":13,"distinct_size":13,"ref":"refs/heads/upstream/auto","head":"85441923581ba2167b9ab822b4259a14246b8a97","before":"02179fcd326fb6ca4f055d5a5cefb1cf3930ebe9","commits":[{"sha":"461a7476ad09f2504b29a0c8f90bda476e35a52e","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"[Syntax Breaking] Rename DefaultImpl to AutoImpl\n\nDefaultImpl is a highly confusing name for what we now call auto impls,\nas in `impl Send for ..`. The name auto impl is not formally decided\nbut for sanity anything is better than `DefaultImpl` which refers\nneither to `default impl` nor to `impl Default`.","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/461a7476ad09f2504b29a0c8f90bda476e35a52e"},{"sha":"821ff8c45617fe09dd3bf95161d73625abba9960","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"add `auto` keyword, parse `auto trait`, lower to HIR\n\nAdds an `IsAuto` field to `ItemTrait` which flags if the trait was\ndeclared as an `auto trait`.\n\nAuto traits cannot have generics nor super traits.","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/821ff8c45617fe09dd3bf95161d73625abba9960"},{"sha":"ac836079e0f76314a307293167e131c1132b9ac9","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"Teach typeck about `auto trait`","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/ac836079e0f76314a307293167e131c1132b9ac9"},{"sha":"2dd34182bfc5cd4f42956585783f871417ec701f","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"Feature gate `auto trait` and ignore it in rustdoc","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/2dd34182bfc5cd4f42956585783f871417ec701f"},{"sha":"0d545415ed97dfef54587eb80b8a1303d87eda5e","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"Add tests for `auto trait`, fix parsing bug\n\nNow we can do the well formedness checks in the parser, yay!","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/0d545415ed97dfef54587eb80b8a1303d87eda5e"},{"sha":"f3c68fe66e38ea5a37d785ce3828c05f3cc4cd54","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"Finish DefaultImpl -> AutoImpl rename.\n\nForgot this ones.","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/f3c68fe66e38ea5a37d785ce3828c05f3cc4cd54"},{"sha":"95d0ad73d4a740333f91974c1245c8a69f5ea39b","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"auto trait future compatibility lint","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/95d0ad73d4a740333f91974c1245c8a69f5ea39b"},{"sha":"b7e01723eb8e543c195c47e0e8953ce8c78ff6ec","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"Fix tests and rebase conflict","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/b7e01723eb8e543c195c47e0e8953ce8c78ff6ec"},{"sha":"4aeca28661363c40aa3b065c361104cc19c325e6","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"Parse auto traits the same as traits.\n\nThis moves the well formedness checks to the AST validation pass. Tests\nwere adjusted.\n\nThe auto keyword should be back-compat now.","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/4aeca28661363c40aa3b065c361104cc19c325e6"},{"sha":"fcc36aa2fb50758a632618f22f3e55ad8e4ead8f","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"update unstable book and error example","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/fcc36aa2fb50758a632618f22f3e55ad8e4ead8f"},{"sha":"d761d7855e973f1764b9b8dc8b06ac8f575aadf2","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"Rename `trait_has_auto_impl` to `trait_is_auto`","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/d761d7855e973f1764b9b8dc8b06ac8f575aadf2"},{"sha":"3a7c5ad2a4fd6507ec5af2e592ee7bd0ceb206b2","author":{"name":"leonardo.yvens","email":"a62a3461f4ec213c5b77a1681dee0e0e486cb460@gmail.com"},"message":"fix rebase conflict","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/3a7c5ad2a4fd6507ec5af2e592ee7bd0ceb206b2"},{"sha":"85441923581ba2167b9ab822b4259a14246b8a97","author":{"name":"bors","email":"f85d84007542459f7a0e8d187f971eeac8d04314@rust-lang.org"},"message":"Auto merge of #45247 - leodasvacas:implement-auto-trait-syntax, r=nikomatsakis\n\n[Syntax] Implement auto trait syntax\n\nImplements `auto trait Send {}` as a substitute for `trait Send {} impl Send for .. {}`.\n\nSee the [internals thread](https://internals.rust-lang.org/t/pre-rfc-renaming-oibits-and-changing-their-declaration-syntax/3086) for motivation. Part of #13231.\n\nThe first commit is just a rename moving from \"default trait\" to \"auto trait\". The rest is parser->AST->HIR work and making it the same as the current syntax for everything below HIR. It's under the `optin_builtin_traits` feature gate.\n\nWhen can we remove the old syntax? Do we need to wait for a new `stage0`? We also need to formally decide for the new form (even if the keyword is not settled yet).\n\nObservations:\n- If you `auto trait Auto {}` and then `impl Auto for .. {}` that's accepted even if it's redundant.\n- The new syntax is simpler internally which will allow for a net removal of code, for example well-formedness checks are effectively moved to the parser.\n- Rustfmt and clippy are broken, need to fix those.\n- Rustdoc just ignores it for now.\n\nping @petrochenkov @nikomatsakis","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-rust/commits/85441923581ba2167b9ab822b4259a14246b8a97"}]}
{"actor":{"display_login":"fuchsia-infra-bot"}}