Support raw_ref_op's raw reference operator

This commit is contained in:
robojumper 2020-05-28 21:42:22 +02:00
parent 190a0595a4
commit 367487fe88
12 changed files with 259 additions and 72 deletions

View file

@ -19,7 +19,7 @@ use ra_syntax::ast::RangeOp;
use crate::{
builtin_type::{BuiltinFloat, BuiltinInt},
path::{GenericArgs, Path},
type_ref::{Mutability, TypeRef},
type_ref::{Mutability, Rawness, TypeRef},
};
pub type ExprId = Idx<Expr>;
@ -110,6 +110,7 @@ pub enum Expr {
},
Ref {
expr: ExprId,
rawness: Rawness,
mutability: Mutability,
},
Box {