rust/compiler/rustc_ast/src
Yuki Okushi 695f878332
Rollup merge of #80784 - petrochenkov:nontspan, r=Aaron1011
rustc_parse: Better spans for synthesized token streams

I think using the nonterminal span for synthesizing its tokens is a better approximation than using `DUMMY_SP` or the attribute span like #79472 did in `expand.rs`.

r? `@Aaron1011`
2021-01-08 02:06:20 +09:00
..
ast mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
attr use matches!() macro in more places 2020-12-24 13:35:12 +01:00
expand mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
util Rollup merge of #80344 - matthiaskrgr:matches, r=Dylan-DPC 2020-12-28 14:13:12 +01:00
ast.rs reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
crate_disambiguator.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
entry.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs Move lev_distance to rustc_ast, make non-generic 2020-11-24 16:12:23 -08:00
mut_visit.rs first pass at default values for const generics 2021-01-01 10:55:10 +01:00
node_id.rs The renumber pass is long gone 2020-11-06 03:18:01 +01:00
ptr.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
token.rs rustc_parse: Better spans for synthesized token streams 2021-01-07 17:48:13 +03:00
tokenstream.rs Edit rustc_ast::tokenstream docs 2021-01-03 11:54:56 -08:00
visit.rs first pass at default values for const generics 2021-01-01 10:55:10 +01:00