X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;ds=sidebyside;f=crates%2Fhir_def%2Fsrc%2Fexpr.rs;h=5be838f4a7d842ae7fb45011eebadae56e5ea011;hb=1d103cf087c574f66279490ffef8c76178aea5cc;hp=a293df9f1c949beede6c6d9a586362e4f5b9c311;hpb=3224ecea8734f850eda474c136ae4dcb7e1aa3f1;p=rust.git diff --git a/crates/hir_def/src/expr.rs b/crates/hir_def/src/expr.rs index a293df9f1c9..5be838f4a7d 100644 --- a/crates/hir_def/src/expr.rs +++ b/crates/hir_def/src/expr.rs @@ -13,7 +13,7 @@ //! See also a neighboring `body` module. use hir_expand::name::Name; -use la_arena::{Idx, RawId}; +use la_arena::{Idx, RawIdx}; use syntax::ast::RangeOp; use crate::{ @@ -24,7 +24,7 @@ pub type ExprId = Idx; pub(crate) fn dummy_expr_id() -> ExprId { - ExprId::from_raw(RawId::from(!0)) + ExprId::from_raw(RawIdx::from(!0)) } pub type PatId = Idx;