rust/compiler
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
..
rustc
rustc_apfloat
rustc_arena
rustc_ast expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
rustc_ast_lowering Auto merge of #85102 - estebank:point-at-assignment, r=oli-obk 2021-11-26 03:57:55 +00:00
rustc_ast_passes Rollup merge of #91208 - estebank:eq-constraint, r=cjgillot 2021-11-27 11:46:44 +01:00
rustc_ast_pretty expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
rustc_attr
rustc_borrowck Rollup merge of #90985 - camsteffen:diag-name-usage, r=jackh726 2021-12-01 10:50:18 +01:00
rustc_builtin_macros Rollup merge of #91313 - petrochenkov:cratexp, r=Aaron1011 2021-12-01 20:57:43 +01:00
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm Rollup merge of #91207 - richkadel:rk-bump-coverage-version, r=tmandry 2021-12-01 10:50:20 +01:00
rustc_codegen_ssa Rollup merge of #91207 - richkadel:rk-bump-coverage-version, r=tmandry 2021-12-01 10:50:20 +01:00
rustc_const_eval Rollup merge of #91368 - ecstatic-morse:mir-pass-reexport, r=cjgillot 2021-11-30 17:29:12 +09:00
rustc_data_structures Use intrinsic pointer methods 2021-11-27 16:59:18 +00:00
rustc_driver
rustc_error_codes
rustc_errors Rollup merge of #91358 - kd-collective:fix_typo, r=cjgillot 2021-11-30 17:29:10 +09:00
rustc_expand expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_pretty
rustc_incremental
rustc_index
rustc_infer Take a LocalDefId in expect_*item. 2021-11-28 21:09:45 +01:00
rustc_interface expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
rustc_lexer
rustc_lint Auto merge of #91255 - b-naber:normalization-ice, r=jackh276 2021-12-01 13:33:33 +00:00
rustc_lint_defs
rustc_llvm Rollup merge of #91207 - richkadel:rk-bump-coverage-version, r=tmandry 2021-12-01 10:50:20 +01:00
rustc_macros Make TypeFoldable implementors short-circuit on error 2021-11-26 07:17:59 +00:00
rustc_metadata Auto merge of #91330 - cjgillot:no-ee-features, r=Aaron1011 2021-11-30 07:40:08 +00:00
rustc_middle Auto merge of #91255 - b-naber:normalization-ice, r=jackh276 2021-12-01 13:33:33 +00:00
rustc_mir_build
rustc_mir_dataflow
rustc_mir_transform Rollup merge of #91294 - cjgillot:process-elem, r=jackh726 2021-11-30 23:43:31 +01:00
rustc_monomorphize
rustc_parse Rollup merge of #91313 - petrochenkov:cratexp, r=Aaron1011 2021-12-01 20:57:43 +01:00
rustc_parse_format
rustc_passes Auto merge of #91330 - cjgillot:no-ee-features, r=Aaron1011 2021-11-30 07:40:08 +00:00
rustc_plugin_impl
rustc_privacy Take a LocalDefId in expect_*item. 2021-11-28 21:09:45 +01:00
rustc_query_impl
rustc_query_system
rustc_resolve Rollup merge of #91313 - petrochenkov:cratexp, r=Aaron1011 2021-12-01 20:57:43 +01:00
rustc_save_analysis
rustc_serialize
rustc_session Accumulate all values of -C remark option 2021-11-29 09:12:01 +01:00
rustc_span Add parent crate assert to register_expn_id 2021-11-28 16:35:54 -06:00
rustc_symbol_mangling
rustc_target
rustc_trait_selection Rollup merge of #90985 - camsteffen:diag-name-usage, r=jackh726 2021-12-01 10:50:18 +01:00
rustc_traits implement version of normalize_erasing_regions that doesn't assume value is normalizable 2021-12-01 12:12:38 +01:00
rustc_ty_utils Take a LocalDefId in expect_*item. 2021-11-28 21:09:45 +01:00
rustc_type_ir
rustc_typeck Rollup merge of #91243 - jackh726:issue-91068, r=nikomatsakis 2021-11-30 17:29:06 +09:00