@@ -636,7 +636,7 @@ pub const Parser = struct {
636636 }
637637 return try p .parseTypedInternal (optional_info .child , value );
638638 },
639- .Enum = > | enum_info | {
639+ .Enum = > | _ | {
640640 switch (value ) {
641641 // Note that if the value is numeric then it could be
642642 // intepreted as the enum number (use std.meta.intToEnum()),
@@ -649,7 +649,7 @@ pub const Parser = struct {
649649 if (union_info .tag_type ) | _ | {
650650 // Try each of the union fields until we find one with a type
651651 // that the value can successfully be parsed into.
652- inline for (union_info .fields ) | field , i | {
652+ inline for (union_info .fields ) | field | {
653653 if (p .parseTypedInternal (field .field_type , value )) | val | {
654654 return @unionInit (T , field .name , val );
655655 } else | err | {
@@ -1195,7 +1195,7 @@ pub const Parser = struct {
11951195 return map ;
11961196 }
11971197
1198- fn parseInlineContainerString (p : Self , text_iter : * CharIter , disallowed_chars : []const u8 ) ? []const u8 {
1198+ fn parseInlineContainerString (_ : Self , text_iter : * CharIter , disallowed_chars : []const u8 ) ? []const u8 {
11991199 const start_idx = text_iter .idx - 1 ;
12001200 const end_idx = blk : {
12011201 if (std .mem .indexOfAnyPos (u8 , text_iter .text , start_idx , disallowed_chars )) | idx |
0 commit comments