aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/traits.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-07-07 16:20:09 +0100
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-07-07 16:20:09 +0100
commit1b38ca3b8739230af1cc69884b5b11650b5fcb46 (patch)
tree02f5ae58fed812857cc299299ae5e0bd6f5836ce /crates/ra_hir/src/ty/traits.rs
parent6c31f5b0a79c8b97110aaf854b839b57811c375a (diff)
parentf7cd40d8306dfd3f2c55ad97de5167319350a592 (diff)
Merge #1501
1501: Infer for loop variable r=flodiebold a=unrealhoang My take on https://github.com/rust-analyzer/rust-analyzer/issues/1425 Co-authored-by: Unreal Hoang <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/ty/traits.rs')
-rw-r--r--crates/ra_hir/src/ty/traits.rs2
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
81impl Obligation { 81impl Obligation {