aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 14:01:18 +0100
committerAleksey Kladov <[email protected]>2020-07-31 14:01:18 +0100
commitb250ae6c55c446f65f85914d98da2cd2c75871f7 (patch)
treed264ec19b06a37e9565d42ed169bcd8d714d18b4 /crates/ra_hir_def
parenta6527ed92cb7a1156b8a118f5790d8c5fd69ab41 (diff)
Finalize TypeBound grammar
Diffstat (limited to 'crates/ra_hir_def')
-rw-r--r--crates/ra_hir_def/src/generics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/generics.rs b/crates/ra_hir_def/src/generics.rs
index be0b45af3..699ba9c92 100644
--- a/crates/ra_hir_def/src/generics.rs
+++ b/crates/ra_hir_def/src/generics.rs
@@ -270,7 +270,7 @@ impl GenericParams {
270 bound: ast::TypeBound, 270 bound: ast::TypeBound,
271 type_ref: TypeRef, 271 type_ref: TypeRef,
272 ) { 272 ) {
273 if bound.question_token().is_some() { 273 if bound.question_mark_token().is_some() {
274 // FIXME: remove this bound 274 // FIXME: remove this bound
275 return; 275 return;
276 } 276 }