@@ -327,7 +327,6 @@ pub enum PrimitiveTypes {
327
327
I64 ,
328
328
F32 ,
329
329
F64 ,
330
- String ,
331
330
Bool ,
332
331
Char ,
333
332
Ptr ,
@@ -347,7 +346,6 @@ impl GetName for PrimitiveTypes {
347
346
Self :: I64 => "i64" . to_string ( ) ,
348
347
Self :: F32 => "f32" . to_string ( ) ,
349
348
Self :: F64 => "f64" . to_string ( ) ,
350
- Self :: String => "string" . to_string ( ) ,
351
349
Self :: Bool => "bool" . to_string ( ) ,
352
350
Self :: Char => "char" . to_string ( ) ,
353
351
Self :: Ptr => "ptr" . to_string ( ) ,
@@ -589,7 +587,6 @@ pub enum PrimitiveValue {
589
587
I64 ( i64 ) ,
590
588
F32 ( f32 ) ,
591
589
F64 ( f64 ) ,
592
- String ( String ) ,
593
590
Bool ( bool ) ,
594
591
Char ( char ) ,
595
592
Ptr ,
@@ -610,7 +607,6 @@ impl PrimitiveValue {
610
607
Self :: I64 ( _) => Type :: Primitive ( PrimitiveTypes :: I64 ) ,
611
608
Self :: F32 ( _) => Type :: Primitive ( PrimitiveTypes :: F32 ) ,
612
609
Self :: F64 ( _) => Type :: Primitive ( PrimitiveTypes :: F64 ) ,
613
- Self :: String ( _) => Type :: Primitive ( PrimitiveTypes :: String ) ,
614
610
Self :: Char ( _) => Type :: Primitive ( PrimitiveTypes :: Char ) ,
615
611
Self :: Bool ( _) => Type :: Primitive ( PrimitiveTypes :: Bool ) ,
616
612
Self :: Ptr => Type :: Primitive ( PrimitiveTypes :: Ptr ) ,
@@ -649,7 +645,8 @@ pub enum ExpressionValue<'a, I: SemanticContextInstruction, E: ExtendedExpressio
649
645
/// Extended expression
650
646
ExtendedExpression ( Box < E > ) ,
651
647
#[ cfg_attr( feature = "codec" , serde( skip) ) ]
652
- _Marker( Infallible , PhantomData < I > ) ,
648
+ #[ allow( non_camel_case_types) ]
649
+ _marker( Infallible , PhantomData < I > ) ,
653
650
}
654
651
655
652
/// `ExpressionOperations` expression operation element of AST.
0 commit comments