rust/compiler/rustc_builtin_macros/src
Aaron Hill b9b2546417
Unconditionally capture tokens for attributes.
This allows us to avoid synthesizing tokens in `prepend_attr`, since we
have the original tokens available.

We still need to synthesize tokens when expanding `cfg_attr`,
but this is an unavoidable consequence of the syntax of `cfg_attr` -
the user does not supply the `#` and `[]` tokens that a `cfg_attr`
expands to.
2020-10-21 18:57:29 -04:00
..
deriving Remove unnecessary unsafe block around calls to discriminant_value 2020-10-11 00:00:00 +00:00
format_foreign
asm.rs rustc_parse: Make Parser::unexpected public and use it in built-in macros 2020-10-06 00:23:36 +03:00
assert.rs rustc_parse: Make Parser::unexpected public and use it in built-in macros 2020-10-06 00:23:36 +03:00
cfg_accessible.rs
cfg.rs
cmdline_attrs.rs Unconditionally capture tokens for attributes. 2020-10-21 18:57:29 -04:00
compile_error.rs
concat_idents.rs expand: Stop un-interpolating NtIdents before passing them to built-in macros 2020-09-28 23:10:44 +03:00
concat.rs
env.rs
format_foreign.rs Simplify using is_ascii_alphabetic and is_ascii_alphanumeric 2020-10-11 22:27:21 +02:00
format.rs Point at named argument not found when using format_args_capture instead of whole format string 2020-09-08 10:10:45 -07:00
global_allocator.rs
global_asm.rs Attach TokenStream to ast::Visibility 2020-09-10 17:33:06 -04:00
lib.rs /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
llvm_asm.rs
log_syntax.rs
proc_macro_harness.rs Attach TokenStream to ast::Visibility 2020-09-10 17:33:06 -04:00
source_util.rs Remove extra indirection in LitKind::ByteStr 2020-10-04 15:52:15 -06:00
standard_library_imports.rs
test_harness.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
test.rs Attach TokenStream to ast::Visibility 2020-09-10 17:33:06 -04:00
trace_macros.rs
util.rs