Pre: Remove :: dependency from src/errors.rs
This commit is contained in:
parent
c8e6a511f4
commit
c00e14f5ff
1 changed files with 6 additions and 6 deletions
|
@ -71,14 +71,14 @@ pub enum MentatError {
|
|||
#[fail(display = "invalid vocabulary version")]
|
||||
InvalidVocabularyVersion,
|
||||
|
||||
#[fail(display = "vocabulary {}/{} already has attribute {}, and the requested definition differs", _0, _1, _2)]
|
||||
ConflictingAttributeDefinitions(String, ::vocabulary::Version, String, Attribute, Attribute),
|
||||
#[fail(display = "vocabulary {}/version {} already has attribute {}, and the requested definition differs", _0, _1, _2)]
|
||||
ConflictingAttributeDefinitions(String, u32, String, Attribute, Attribute),
|
||||
|
||||
#[fail(display = "existing vocabulary {} too new: wanted {}, got {}", _0, _1, _2)]
|
||||
ExistingVocabularyTooNew(String, ::vocabulary::Version, ::vocabulary::Version),
|
||||
#[fail(display = "existing vocabulary {} too new: wanted version {}, got version {}", _0, _1, _2)]
|
||||
ExistingVocabularyTooNew(String, u32, u32),
|
||||
|
||||
#[fail(display = "core schema: wanted {}, got {:?}", _0, _1)]
|
||||
UnexpectedCoreSchema(::vocabulary::Version, Option<::vocabulary::Version>),
|
||||
#[fail(display = "core schema: wanted version {}, got version {:?}", _0, _1)]
|
||||
UnexpectedCoreSchema(u32, Option<u32>),
|
||||
|
||||
#[fail(display = "Lost the transact() race!")]
|
||||
UnexpectedLostTransactRace,
|
||||
|
|
Loading…
Reference in a new issue