diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-31 13:42:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-31 13:42:31 +0100 |
commit | 847a50e74e3e45ea84f38efb23788fa5a61566eb (patch) | |
tree | 0988b331b556d8d6a0e58e9c2b2a513e0ceb8d59 /crates/ra_hir_def/src | |
parent | eccb5d52d3c4b82b6b61e231aa137b4aeb8c94ec (diff) | |
parent | a6527ed92cb7a1156b8a118f5790d8c5fd69ab41 (diff) |
Merge #5620
5620: Finalize Types grammar r=matklad a=matklad
Note that `for` type is rust-analyzer's own invention.
Both the reference and syn allow `for` only for fnptr types, and we
allow them everywhere. This needs to be checked with respect to type
bounds grammar...
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r-- | crates/ra_hir_def/src/type_ref.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/type_ref.rs b/crates/ra_hir_def/src/type_ref.rs index 524c033b8..fe6619d9f 100644 --- a/crates/ra_hir_def/src/type_ref.rs +++ b/crates/ra_hir_def/src/type_ref.rs | |||
@@ -1,6 +1,5 @@ | |||
1 | //! HIR for references to types. Paths in these are not yet resolved. They can | 1 | //! HIR for references to types. Paths in these are not yet resolved. They can |
2 | //! be directly created from an ast::TypeRef, without further queries. | 2 | //! be directly created from an ast::TypeRef, without further queries. |
3 | |||
4 | use ra_syntax::ast::{self}; | 3 | use ra_syntax::ast::{self}; |
5 | 4 | ||
6 | use crate::{body::LowerCtx, path::Path}; | 5 | use crate::{body::LowerCtx, path::Path}; |