1
Fork 0
rust/compiler/rustc_mir_build/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
..
build Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errors 2022-03-31 04:57:28 +02:00
thir span: move MultiSpan 2022-04-05 07:01:00 +01:00
check_unsafety.rs use NonHirLiteral instead of ScalarLiteral, move pattern related code to pat_is_poly in IsThirPolymorphic 2022-03-23 11:34:33 +01:00
lib.rs dont use a query for lit_to_constant 2022-03-23 20:18:34 +01:00
lints.rs Check the number of arguments first in is_recursive_call 2022-01-29 23:00:54 +01:00