Pre: Remove :: dependency from src/errors.rs

This commit is contained in:
Grisha Kruglov 2018-08-08 14:59:52 -07:00
parent 99301398a3
commit 722921760e

View file

@ -71,14 +71,14 @@ pub enum MentatError {
#[fail(display = "invalid vocabulary version")] #[fail(display = "invalid vocabulary version")]
InvalidVocabularyVersion, InvalidVocabularyVersion,
#[fail(display = "vocabulary {}/{} already has attribute {}, and the requested definition differs", _0, _1, _2)] #[fail(display = "vocabulary {}/version {} already has attribute {}, and the requested definition differs", _0, _1, _2)]
ConflictingAttributeDefinitions(String, ::vocabulary::Version, String, Attribute, Attribute), ConflictingAttributeDefinitions(String, u32, String, Attribute, Attribute),
#[fail(display = "existing vocabulary {} too new: wanted {}, got {}", _0, _1, _2)] #[fail(display = "existing vocabulary {} too new: wanted version {}, got version {}", _0, _1, _2)]
ExistingVocabularyTooNew(String, ::vocabulary::Version, ::vocabulary::Version), ExistingVocabularyTooNew(String, u32, u32),
#[fail(display = "core schema: wanted {}, got {:?}", _0, _1)] #[fail(display = "core schema: wanted version {}, got version {:?}", _0, _1)]
UnexpectedCoreSchema(::vocabulary::Version, Option<::vocabulary::Version>), UnexpectedCoreSchema(u32, Option<u32>),
#[fail(display = "Lost the transact() race!")] #[fail(display = "Lost the transact() race!")]
UnexpectedLostTransactRace, UnexpectedLostTransactRace,