mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Upgrade Chalk
This commit is contained in:
parent
5063274959
commit
6df9c4035a
2 changed files with 11 additions and 9 deletions
10
Cargo.lock
generated
10
Cargo.lock
generated
|
@ -122,7 +122,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "chalk-engine"
|
name = "chalk-engine"
|
||||||
version = "0.9.0"
|
version = "0.9.0"
|
||||||
source = "git+https://github.com/rust-lang/chalk.git#b4a6b655578ee35b1b3f6b8579636269cf3b0b1a"
|
source = "git+https://github.com/rust-lang/chalk.git#aa0c0582e4de1c0b84f99c412d92b9ca7ff06ddb"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chalk-macros 0.1.1 (git+https://github.com/rust-lang/chalk.git)",
|
"chalk-macros 0.1.1 (git+https://github.com/rust-lang/chalk.git)",
|
||||||
"rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -132,7 +132,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "chalk-ir"
|
name = "chalk-ir"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/rust-lang/chalk.git#b4a6b655578ee35b1b3f6b8579636269cf3b0b1a"
|
source = "git+https://github.com/rust-lang/chalk.git#aa0c0582e4de1c0b84f99c412d92b9ca7ff06ddb"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chalk-engine 0.9.0 (git+https://github.com/rust-lang/chalk.git)",
|
"chalk-engine 0.9.0 (git+https://github.com/rust-lang/chalk.git)",
|
||||||
"chalk-macros 0.1.1 (git+https://github.com/rust-lang/chalk.git)",
|
"chalk-macros 0.1.1 (git+https://github.com/rust-lang/chalk.git)",
|
||||||
|
@ -142,7 +142,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "chalk-macros"
|
name = "chalk-macros"
|
||||||
version = "0.1.1"
|
version = "0.1.1"
|
||||||
source = "git+https://github.com/rust-lang/chalk.git#b4a6b655578ee35b1b3f6b8579636269cf3b0b1a"
|
source = "git+https://github.com/rust-lang/chalk.git#aa0c0582e4de1c0b84f99c412d92b9ca7ff06ddb"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
@ -150,7 +150,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "chalk-rust-ir"
|
name = "chalk-rust-ir"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/rust-lang/chalk.git#b4a6b655578ee35b1b3f6b8579636269cf3b0b1a"
|
source = "git+https://github.com/rust-lang/chalk.git#aa0c0582e4de1c0b84f99c412d92b9ca7ff06ddb"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chalk-engine 0.9.0 (git+https://github.com/rust-lang/chalk.git)",
|
"chalk-engine 0.9.0 (git+https://github.com/rust-lang/chalk.git)",
|
||||||
"chalk-ir 0.1.0 (git+https://github.com/rust-lang/chalk.git)",
|
"chalk-ir 0.1.0 (git+https://github.com/rust-lang/chalk.git)",
|
||||||
|
@ -160,7 +160,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "chalk-solve"
|
name = "chalk-solve"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/rust-lang/chalk.git#b4a6b655578ee35b1b3f6b8579636269cf3b0b1a"
|
source = "git+https://github.com/rust-lang/chalk.git#aa0c0582e4de1c0b84f99c412d92b9ca7ff06ddb"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chalk-engine 0.9.0 (git+https://github.com/rust-lang/chalk.git)",
|
"chalk-engine 0.9.0 (git+https://github.com/rust-lang/chalk.git)",
|
||||||
"chalk-ir 0.1.0 (git+https://github.com/rust-lang/chalk.git)",
|
"chalk-ir 0.1.0 (git+https://github.com/rust-lang/chalk.git)",
|
||||||
|
|
|
@ -423,10 +423,12 @@ where
|
||||||
fn custom_clauses(&self) -> Vec<chalk_ir::ProgramClause> {
|
fn custom_clauses(&self) -> Vec<chalk_ir::ProgramClause> {
|
||||||
vec![]
|
vec![]
|
||||||
}
|
}
|
||||||
fn all_structs(&self) -> Vec<chalk_ir::StructId> {
|
fn local_impls_to_coherence_check(
|
||||||
debug!("all_structs");
|
&self,
|
||||||
// FIXME
|
_trait_id: chalk_ir::TraitId,
|
||||||
vec![]
|
) -> Vec<chalk_ir::ImplId> {
|
||||||
|
// We don't do coherence checking (yet)
|
||||||
|
unimplemented!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue