diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-31 14:01:54 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-31 14:01:54 +0100 |
commit | 84bf0240941b645ef9f8c57b81db30659f7c68e4 (patch) | |
tree | 801a66f324421dac1012b4516805c12a633d543f /crates/ra_hir_def/src/generics.rs | |
parent | 847a50e74e3e45ea84f38efb23788fa5a61566eb (diff) | |
parent | b250ae6c55c446f65f85914d98da2cd2c75871f7 (diff) |
Merge #5621
5621: Finalize TypeBound grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/generics.rs')
-rw-r--r-- | crates/ra_hir_def/src/generics.rs | 2 |
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 | } |