rust/compiler/rustc_expand/src
Nicholas Nethercote 8cfc8153da Remove Lit::from_included_bytes.
`Lit::from_included_bytes` calls `Lit::from_lit_kind`, but the two call
sites only need the resulting `token::Lit`, not the full `ast::Lit`.

This commit changes those call sites to use `LitKind::to_token_lit`,
which means `from_included_bytes` can be removed.
2022-11-28 15:17:45 +11:00
..
mbe Rollup merge of #104638 - Nilstrieb:macro-diagnostics, r=compiler-errors 2022-11-22 01:26:08 -05:00
mut_visit rustc_ast: Turn MutVisitor::token_visiting_enabled into a constant 2021-10-18 00:23:24 +03:00
parse Split MacArgs in two. 2022-11-22 09:04:15 +11:00
tokenstream Remove TokenStreamBuilder. 2022-10-05 12:42:54 +11:00
base.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
build.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
config.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
expand.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
lib.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
mbe.rs Move macro_rules diagnostics to diagnostics module 2022-11-20 13:06:44 +01:00
module.rs Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
placeholders.rs Split MacArgs in two. 2022-11-22 09:04:15 +11:00
proc_macro.rs Add the #[derive_const] attribute 2022-09-20 11:57:58 +00:00
proc_macro_server.rs Remove Lit::from_included_bytes. 2022-11-28 15:17:45 +11:00
tests.rs Implement -Ztrack-diagnostics 2022-10-19 00:08:20 +02:00