mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 22:13:39 +00:00
d61909f904
3964: Nicer Chalk debug logs r=matklad a=flodiebold
I'm looking at a lot of Chalk debug logs at the moment, so here's a few changes to make them slightly nicer...
3965: Implement inline associated type bounds r=matklad a=flodiebold
Like `Iterator<Item: SomeTrait>`.
This is an unstable feature, but it's used in the standard library e.g. in the definition of Flatten, so we can't get away with not implementing it :)
(This is cherry-picked from my recursive solver branch, where it works better, but I did manage to write a test that works with the current Chalk solver as well...)
3967: Handle `Self::Type` in trait definitions when referring to own associated type r=matklad a=flodiebold
It was implemented for other generic parameters for the trait, but not for `Self`.
(Last one off my recursive solver branch 😄 )
Co-authored-by: Florian Diebold <flodiebold@gmail.com>
35 lines
996 B
TOML
35 lines
996 B
TOML
[package]
|
|
edition = "2018"
|
|
name = "ra_hir_ty"
|
|
version = "0.1.0"
|
|
authors = ["rust-analyzer developers"]
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
itertools = "0.9.0"
|
|
arrayvec = "0.5.1"
|
|
smallvec = "1.2.0"
|
|
ena = "0.13.1"
|
|
log = "0.4.8"
|
|
rustc-hash = "1.1.0"
|
|
|
|
stdx = { path = "../stdx" }
|
|
|
|
hir_def = { path = "../ra_hir_def", package = "ra_hir_def" }
|
|
hir_expand = { path = "../ra_hir_expand", package = "ra_hir_expand" }
|
|
ra_arena = { path = "../ra_arena" }
|
|
ra_db = { path = "../ra_db" }
|
|
ra_prof = { path = "../ra_prof" }
|
|
ra_syntax = { path = "../ra_syntax" }
|
|
test_utils = { path = "../test_utils" }
|
|
|
|
scoped-tls = "1"
|
|
|
|
chalk-solve = { git = "https://github.com/rust-lang/chalk.git", rev = "6222e416b96892b2a86bc08de7dbc9826ff1acea" }
|
|
chalk-rust-ir = { git = "https://github.com/rust-lang/chalk.git", rev = "6222e416b96892b2a86bc08de7dbc9826ff1acea" }
|
|
chalk-ir = { git = "https://github.com/rust-lang/chalk.git", rev = "6222e416b96892b2a86bc08de7dbc9826ff1acea" }
|
|
|
|
[dev-dependencies]
|
|
insta = "0.16.0"
|