rust/compiler/rustc_builtin_macros/src
Matthias Krüger 519a842c50
Rollup merge of #91313 - petrochenkov:cratexp, r=Aaron1011
expand: Turn `ast::Crate` into a first class expansion target

And stop creating a fake `mod` item for the crate root when expanding a crate, thus addressing FIXMEs left in https://github.com/rust-lang/rust/pull/82238, and making a step towards a proper support for crate-level macro attributes (cc #54726).

I haven't added token collection support for the whole crate in this PR, maybe later.
r? `@Aaron1011`
2021-12-01 20:57:43 +01:00
..
deriving ast: Fix naming conventions in AST structures 2021-11-07 21:38:17 +08:00
format_foreign Improve error message for printf-style format strings 2021-09-29 02:02:45 +02:00
asm.rs Add support for specifying multiple clobber_abi in asm! 2021-11-10 01:06:03 -05:00
assert.rs Use correct edition for panic in [debug_]assert!() etc. 2021-10-07 14:27:08 +02:00
cfg_accessible.rs expand: Tell built-in macros whether we are currently in forced expansion mode 2020-11-19 19:25:20 +03:00
cfg_eval.rs Rollup merge of #91313 - petrochenkov:cratexp, r=Aaron1011 2021-12-01 20:57:43 +01:00
cfg.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
cmdline_attrs.rs Unconditionally capture tokens for attributes. 2020-10-21 18:57:29 -04:00
compile_error.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
concat_idents.rs Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
concat.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
derive.rs rustc_span: Ident::invalid -> Ident::empty 2021-10-17 23:20:30 +03:00
env.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
format_foreign.rs Improve error message for printf-style format strings 2021-09-29 02:02:45 +02:00
format.rs Rollup merge of #91327 - dtolnay:exact, r=michaelwoerister 2021-11-29 10:41:36 +01:00
global_allocator.rs ast: Fix naming conventions in AST structures 2021-11-07 21:38:17 +08:00
lib.rs Revert "Add rustc lint, warning when iterating over hashmaps" 2021-10-28 11:01:42 -04:00
llvm_asm.rs Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
log_syntax.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
panic.rs Use correct edition for panic in [debug_]assert!() etc. 2021-10-07 14:27:08 +02:00
proc_macro_harness.rs Compute proc_macros in resolutions. 2021-09-01 20:13:16 +02:00
source_util.rs Compute a better lint_node_id during expansion 2021-07-17 23:03:56 -05:00
standard_library_imports.rs rustc_span: Ident::invalid -> Ident::empty 2021-10-17 23:20:30 +03:00
test_harness.rs expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
test.rs ast: Fix naming conventions in AST structures 2021-11-07 21:38:17 +08:00
trace_macros.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
util.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00