diff options
author | Unreal Hoang <[email protected]> | 2019-07-07 08:31:09 +0100 |
---|---|---|
committer | Unreal Hoang <[email protected]> | 2019-07-07 14:26:51 +0100 |
commit | f7cd40d8306dfd3f2c55ad97de5167319350a592 (patch) | |
tree | 73d1da8789a0a6109805768d7f2cad3336d3453b /crates/ra_hir/src/ty/traits.rs | |
parent | fee552d4873b1cce4e622c7eb2f0189b276b01be (diff) |
add projection to infer for loop variable
Diffstat (limited to 'crates/ra_hir/src/ty/traits.rs')
-rw-r--r-- | crates/ra_hir/src/ty/traits.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/traits.rs b/crates/ra_hir/src/ty/traits.rs index 23a26a971..3e28852b6 100644 --- a/crates/ra_hir/src/ty/traits.rs +++ b/crates/ra_hir/src/ty/traits.rs | |||
@@ -75,7 +75,7 @@ pub enum Obligation { | |||
75 | /// Prove that a certain type implements a trait (the type is the `Self` type | 75 | /// Prove that a certain type implements a trait (the type is the `Self` type |
76 | /// parameter to the `TraitRef`). | 76 | /// parameter to the `TraitRef`). |
77 | Trait(TraitRef), | 77 | Trait(TraitRef), |
78 | // Projection(ProjectionPredicate), | 78 | Projection(ProjectionPredicate), |
79 | } | 79 | } |
80 | 80 | ||
81 | impl Obligation { | 81 | impl Obligation { |