rust/compiler/rustc_builtin_macros/src
David Wood c45f29595d span: move MultiSpan
`MultiSpan` contains labels, which are more complicated with the
introduction of diagnostic translation and will use types from
`rustc_errors` - however, `rustc_errors` depends on `rustc_span` so
`rustc_span` cannot use types like `DiagnosticMessage` without
dependency cycles. Introduce a new `rustc_error_messages` crate that can
contain `DiagnosticMessage` and `MultiSpan`.

Signed-off-by: David Wood <david.wood@huawei.com>
2022-04-05 07:01:00 +01:00
..
deriving Spellchecking some comments 2022-03-30 01:39:38 -04:00
format_foreign update tests 2021-12-31 12:51:27 -05:00
asm.rs rustc_errors: let DiagnosticBuilder::emit return a "guarantee of emission". 2022-02-23 06:38:52 +00:00
assert.rs rustc_errors: let DiagnosticBuilder::emit return a "guarantee of emission". 2022-02-23 06:38:52 +00:00
cfg_accessible.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
cfg_eval.rs Spellchecking some comments 2022-03-30 01:39:38 -04:00
cfg.rs Improve allowness of the unexpected_cfgs lint 2022-03-01 14:29:12 +01:00
cmdline_attrs.rs Unconditionally capture tokens for attributes. 2020-10-21 18:57:29 -04:00
compile_error.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
concat_bytes.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
concat_idents.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
concat.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
derive.rs Improve allowness of the unexpected_cfgs lint 2022-03-01 14:29:12 +01:00
edition_panic.rs Spellchecking some comments 2022-03-30 01:39:38 -04:00
env.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
format_foreign.rs [rustc_builtin_macros] add indices to format_foreign::printf::Substitution::Escape 2021-12-31 12:42:15 -05:00
format.rs span: move MultiSpan 2022-04-05 07:01:00 +01:00
global_allocator.rs Point at type when a static #[global_allocator] doesn't impl GlobalAlloc 2021-12-15 01:40:08 +00:00
lib.rs Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
log_syntax.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
proc_macro_harness.rs Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
source_util.rs Move resolve_path to rustc_builtin_macros and make it private 2022-03-26 16:47:13 +01:00
standard_library_imports.rs Remove the alt_std_name option 2022-02-11 20:28:38 +01:00
test_harness.rs Adjusted diagnostic output so that if there is no use in a item sequence, 2022-03-03 18:58:37 -05:00
test.rs Downgrade #[test] on macro call to warning 2022-03-04 20:34:10 +00:00
trace_macros.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
util.rs Add a lint for duplicated attributes. 2021-12-15 23:43:13 +01:00