diff options
author | Aleksey Kladov <[email protected]> | 2019-11-25 12:41:53 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-25 12:54:03 +0000 |
commit | 5f39c5794ec2521e9bb4c108771a1644269859ab (patch) | |
tree | 6dd5653f77a3eabb015c5a9172e32e83eb0e6039 /crates/ra_hir/src/ty/traits/chalk.rs | |
parent | c2a16632d0773dec707acb215297ef55b5c880fe (diff) |
Use GenericDefIdMore
Diffstat (limited to 'crates/ra_hir/src/ty/traits/chalk.rs')
-rw-r--r-- | crates/ra_hir/src/ty/traits/chalk.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/traits/chalk.rs b/crates/ra_hir/src/ty/traits/chalk.rs index a0dbf6305..0272dd9ae 100644 --- a/crates/ra_hir/src/ty/traits/chalk.rs +++ b/crates/ra_hir/src/ty/traits/chalk.rs | |||
@@ -736,7 +736,7 @@ fn closure_fn_trait_impl_datum( | |||
736 | 736 | ||
737 | let trait_ref = TraitRef { | 737 | let trait_ref = TraitRef { |
738 | trait_, | 738 | trait_, |
739 | substs: Substs::build_for_def(db, trait_).push(self_ty).push(arg_ty).build(), | 739 | substs: Substs::build_for_def(db, trait_.id).push(self_ty).push(arg_ty).build(), |
740 | }; | 740 | }; |
741 | 741 | ||
742 | let output_ty_id = AssocTyValue::ClosureFnTraitImplOutput(data.clone()).to_chalk(db); | 742 | let output_ty_id = AssocTyValue::ClosureFnTraitImplOutput(data.clone()).to_chalk(db); |