aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 13:40:28 +0100
committerAleksey Kladov <[email protected]>2020-07-31 13:40:28 +0100
commita6527ed92cb7a1156b8a118f5790d8c5fd69ab41 (patch)
tree807d7e40f6617b016eb88d47f764a738470a54f6 /crates/ra_hir_def
parenta6e45c6c69bf258118940941c12d057deb79e60c (diff)
"Finalize" Types grammar
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...
Diffstat (limited to 'crates/ra_hir_def')
-rw-r--r--crates/ra_hir_def/src/type_ref.rs1
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
4use ra_syntax::ast::{self}; 3use ra_syntax::ast::{self};
5 4
6use crate::{body::LowerCtx, path::Path}; 5use crate::{body::LowerCtx, path::Path};