mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
3d0774d0dc
Matthew's work on improving NLL's "higher-ranked subtype error"s This PR rebases `@matthewjasper's` [branch](https://github.com/matthewjasper/rust/tree/nll-hrtb-errors) which has great work to fix the obscure higher-ranked subtype errors that are tracked in #57374. These are a blocker to turning full NLLs on, and doing some internal cleanups to remove some of the old region code. The goal is so `@nikomatsakis` can take a look at this early, and I'll then do my best to help do the changes and followup work to land this work, and move closer to turning off the migration mode. I've only updated the branch and made it compile, removed a warning or two. r? `@nikomatsakis` (Here's the [zulip topic to discuss this](https://rust-lang.zulipchat.com/#narrow/stream/122657-t-compiler.2Fwg-nll/topic/.2357374.3A.20improving.20higher-ranked.20subtype.20errors.20via.20.2386700) that Niko wanted)
38 lines
1.2 KiB
TOML
38 lines
1.2 KiB
TOML
[package]
|
|
name = "rustc_mir"
|
|
version = "0.0.0"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
either = "1.5.0"
|
|
rustc_graphviz = { path = "../rustc_graphviz" }
|
|
gsgdt = "0.1.2"
|
|
itertools = "0.9"
|
|
tracing = "0.1"
|
|
polonius-engine = "0.13.0"
|
|
regex = "1"
|
|
rustc_middle = { path = "../rustc_middle" }
|
|
rustc_attr = { path = "../rustc_attr" }
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_errors = { path = "../rustc_errors" }
|
|
rustc_hir = { path = "../rustc_hir" }
|
|
rustc_index = { path = "../rustc_index" }
|
|
rustc_infer = { path = "../rustc_infer" }
|
|
rustc_lexer = { path = "../rustc_lexer" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
rustc_serialize = { path = "../rustc_serialize" }
|
|
rustc_session = { path = "../rustc_session" }
|
|
rustc_target = { path = "../rustc_target" }
|
|
rustc_trait_selection = { path = "../rustc_trait_selection" }
|
|
rustc_traits = { path = "../rustc_traits" }
|
|
rustc_ast = { path = "../rustc_ast" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
rustc_apfloat = { path = "../rustc_apfloat" }
|
|
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
|
|
|
|
[dev-dependencies]
|
|
coverage_test_macros = { path = "src/transform/coverage/test_macros" }
|