diff --git a/src/cose.zig b/src/cose.zig index bb6ee76..bd5fde6 100644 --- a/src/cose.zig +++ b/src/cose.zig @@ -1,7 +1,6 @@ const std = @import("std"); const cbor = @import("cbor.zig"); -const Error = cbor.Error; const Type = cbor.Type; const DataItem = cbor.DataItem; const Tag = cbor.Tag; diff --git a/src/parse.zig b/src/parse.zig index 6f30bd4..991fc3f 100644 --- a/src/parse.zig +++ b/src/parse.zig @@ -2,7 +2,6 @@ const std = @import("std"); const Allocator = std.mem.Allocator; const cbor = @import("cbor.zig"); -const Error = cbor.Error; const Type = cbor.Type; const DataItem = cbor.DataItem; const Tag = cbor.Tag; @@ -302,7 +301,7 @@ pub fn parse( else => return ParseError.UnexpectedItem, } }, - else => return Error.UnsupportedType, + else => return ParseError.UnsupportedType, } }, .Union => |unionInfo| { @@ -334,7 +333,7 @@ pub fn parse( @compileError("Unable to parse into untagged union '" ++ @typeName(T) ++ "'"); } }, - else => return Error.UnsupportedType, + else => return ParseError.UnsupportedType, } }