c45f29595d
`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>
24 lines
645 B
TOML
24 lines
645 B
TOML
[package]
|
|
name = "rustc_errors"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
tracing = "0.1"
|
|
rustc_error_messages = { path = "../rustc_error_messages" }
|
|
rustc_serialize = { path = "../rustc_serialize" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_lint_defs = { path = "../rustc_lint_defs" }
|
|
unicode-width = "0.1.4"
|
|
atty = "0.2"
|
|
termcolor = "1.0"
|
|
annotate-snippets = "0.8.0"
|
|
termize = "0.1.1"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = ["handleapi", "synchapi", "winbase"] }
|