{"push_id":1638564164,"size":5,"distinct_size":5,"ref":"refs/heads/auto","head":"7a7b31a4e426bf158ea4e8654f63090c2e39a373","before":"3f3c25a898ed617a1df6c541469e9970cef7a585","commits":[{"sha":"50c4222cb5529023f8ae2e65e3d8cb0272bbf41a","author":{"name":"Jeffrey Seyfried","email":"2030064b847557222cc747441de1503e11745c1d@gmail.com"},"message":"Move `syntax::ext::hygiene` to `syntax_pos::hygiene`.","distinct":true,"url":"https://api.github.com/repos/rust-lang/rust/commits/50c4222cb5529023f8ae2e65e3d8cb0272bbf41a"},{"sha":"074a3c43749d9e58ee568519d61a958bbe4acb45","author":{"name":"Jeffrey Seyfried","email":"2030064b847557222cc747441de1503e11745c1d@gmail.com"},"message":"Remove code in `syntax::codemap`.","distinct":true,"url":"https://api.github.com/repos/rust-lang/rust/commits/074a3c43749d9e58ee568519d61a958bbe4acb45"},{"sha":"da3ad474a792273500b965f24559a30897cd2662","author":{"name":"Jeffrey Seyfried","email":"2030064b847557222cc747441de1503e11745c1d@gmail.com"},"message":"Merge `ExpnId` and `SyntaxContext`.","distinct":true,"url":"https://api.github.com/repos/rust-lang/rust/commits/da3ad474a792273500b965f24559a30897cd2662"},{"sha":"8c49446fa029590312c591818c0776b6ab7bc472","author":{"name":"Jeffrey Seyfried","email":"2030064b847557222cc747441de1503e11745c1d@gmail.com"},"message":"Refactor how spans are combined in the parser.","distinct":true,"url":"https://api.github.com/repos/rust-lang/rust/commits/8c49446fa029590312c591818c0776b6ab7bc472"},{"sha":"7a7b31a4e426bf158ea4e8654f63090c2e39a373","author":{"name":"bors","email":"f85d84007542459f7a0e8d187f971eeac8d04314@rust-lang.org"},"message":"Auto merge of #40597 - jseyfried:improve_span_expn_info, r=nrc\n\nmacros: improve `Span`'s expansion information\n\nThis PR improves `Span`'s expansion information. More specifically:\n - It refactors AST node span construction to preserve expansion information.\n   - Today, we only use the underlying tokens' `BytePos`s, throwing away the `ExpnId`s.\n   - This improves the accuracy of AST nodes' expansion information, fixing #30506.\n - It refactors `span.expn_id: ExpnId` to `span.ctxt: SyntaxContext` and removes `ExpnId`.\n   - This gives all tokens as much hygiene information as `Ident`s.\n   - This is groundwork for procedural macros 2.0 `TokenStream` API.\n   - This is also groundwork for declarative macros 2.0, which will need this hygiene information for some non-`Ident` tokens.\n - It simplifies processing of spans' expansion information throughout the compiler.\n - It fixes #40649.\n\nr? @nrc","distinct":true,"url":"https://api.github.com/repos/rust-lang/rust/commits/7a7b31a4e426bf158ea4e8654f63090c2e39a373"}]}
{"actor":{"display_login":"bors"}}