rust/src/librustc_expand
Nicholas Nethercote 0d69fe8308 Use P for NtTraitItem, NtImplItem, and NtForeignItem.
This commit reduces the size of `Nonterminal` from a whopping 240 bytes
to 72 bytes (on x86-64), which gets it below the `memcpy` threshold.

It also removes some impedance mismatches with `Annotatable`, which
already uses `P` for these variants.
2020-01-30 11:18:56 +11:00
..
mbe Rollup merge of #68084 - estebank:ice-68000, r=varkor 2020-01-11 04:02:28 +01:00
mut_visit Rename directories for some crates from syntax_x to rustc_x 2019-12-30 19:18:16 +03:00
parse nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
tokenstream Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
base.rs Use P for NtTraitItem, NtImplItem, and NtForeignItem. 2020-01-30 11:18:56 +11:00
build.rs Revert "Add a constness field to ast::TraitRef" 2020-01-20 00:00:08 -08:00
Cargo.toml {syntax -> rustc_ast_passes}::feature_gate 2020-01-11 03:30:20 +01:00
expand.rs Use P for NtTraitItem, NtImplItem, and NtForeignItem. 2020-01-30 11:18:56 +11:00
lib.rs nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
mbe.rs Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
placeholders.rs Use P for NtTraitItem, NtImplItem, and NtForeignItem. 2020-01-30 11:18:56 +11:00
proc_macro.rs nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
proc_macro_server.rs nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
tests.rs nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00