diff options
author | Aleksey Kladov <[email protected]> | 2019-12-12 13:09:13 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-12 13:25:34 +0000 |
commit | 7b0644d81e52d00a7a6795b187f356213ff68225 (patch) | |
tree | 88da767605960bb672934c091489d3aad826f17a /crates/ra_hir_ty/src/traits | |
parent | b0739d5a26684527129882b7d182d01e635525bc (diff) |
Switch to the new location for impls
Diffstat (limited to 'crates/ra_hir_ty/src/traits')
-rw-r--r-- | crates/ra_hir_ty/src/traits/chalk.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_ty/src/traits/chalk.rs b/crates/ra_hir_ty/src/traits/chalk.rs index 1e7ff93d5..ff299f511 100644 --- a/crates/ra_hir_ty/src/traits/chalk.rs +++ b/crates/ra_hir_ty/src/traits/chalk.rs | |||
@@ -673,7 +673,7 @@ fn impl_block_datum( | |||
673 | let bound_vars = Substs::bound_vars(&generic_params); | 673 | let bound_vars = Substs::bound_vars(&generic_params); |
674 | let trait_ref = trait_ref.subst(&bound_vars); | 674 | let trait_ref = trait_ref.subst(&bound_vars); |
675 | let trait_ = trait_ref.trait_; | 675 | let trait_ = trait_ref.trait_; |
676 | let impl_type = if impl_id.module(db).krate == krate { | 676 | let impl_type = if impl_id.lookup(db).container.krate == krate { |
677 | chalk_rust_ir::ImplType::Local | 677 | chalk_rust_ir::ImplType::Local |
678 | } else { | 678 | } else { |
679 | chalk_rust_ir::ImplType::External | 679 | chalk_rust_ir::ImplType::External |