]> git.lizzy.rs Git - rust.git/blobdiff - crates/hir_def/src/expr.rs
Use ‘index’ terminology for arena consistently
[rust.git] / crates / hir_def / src / expr.rs
index a293df9f1c949beede6c6d9a586362e4f5b9c311..5be838f4a7d842ae7fb45011eebadae56e5ea011 100644 (file)
@@ -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<Expr>;
 pub(crate) fn dummy_expr_id() -> ExprId {
-    ExprId::from_raw(RawId::from(!0))
+    ExprId::from_raw(RawIdx::from(!0))
 }
 
 pub type PatId = Idx<Pat>;