Remove Error::IdentifierUnsupported

This is a breaking change.
This commit is contained in:
Tadeo Kondrak 2020-07-10 12:37:37 -06:00
parent cde8ea7f52
commit 2e330a7e37
No known key found for this signature in database
GPG Key ID: D41E092CA43F1D8B
1 changed files with 0 additions and 2 deletions

View File

@ -12,7 +12,6 @@ pub enum Error {
Io(io::Error), Io(io::Error),
AnyUnsupported, AnyUnsupported,
IdentifierUnsupported,
InvalidUtf8, InvalidUtf8,
InvalidChar, InvalidChar,
@ -38,7 +37,6 @@ impl Display for Error {
Error::Message(msg) => formatter.write_str(msg), Error::Message(msg) => formatter.write_str(msg),
Error::Io(e) => e.fmt(formatter), Error::Io(e) => e.fmt(formatter),
Error::AnyUnsupported => formatter.write_str("BARE does not support any"), Error::AnyUnsupported => formatter.write_str("BARE does not support any"),
Error::IdentifierUnsupported => formatter.write_str("BARE does not support identifier"),
Error::InvalidUtf8 => formatter.write_str("invalid utf-8 in string"), Error::InvalidUtf8 => formatter.write_str("invalid utf-8 in string"),
Error::InvalidChar => formatter.write_str("invalid unicode codepoint in char"), Error::InvalidChar => formatter.write_str("invalid unicode codepoint in char"),
Error::MapLengthRequired => formatter.write_str("map length required"), Error::MapLengthRequired => formatter.write_str("map length required"),