Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/hir.rs')
| -rw-r--r-- | crates/hir-def/src/hir.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/hir-def/src/hir.rs b/crates/hir-def/src/hir.rs index cd22ae6638..c1d73ce734 100644 --- a/crates/hir-def/src/hir.rs +++ b/crates/hir-def/src/hir.rs @@ -13,6 +13,7 @@ //! See also a neighboring `body` module. pub mod format_args; +pub mod generics; pub mod type_ref; use std::fmt; @@ -25,9 +26,9 @@ use syntax::ast; use type_ref::TypeRefId; use crate::{ - BlockId, ConstBlockId, + BlockId, builtin_type::{BuiltinFloat, BuiltinInt, BuiltinUint}, - path::{GenericArgs, Path}, + expr_store::path::{GenericArgs, Path}, type_ref::{Mutability, Rawness}, }; @@ -208,7 +209,7 @@ pub enum Expr { statements: Box<[Statement]>, tail: Option<ExprId>, }, - Const(ConstBlockId), + Const(ExprId), // FIXME: Fold this into Block with an unsafe flag? Unsafe { id: Option<BlockId>, |