mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2024-12-04 15:20:18 +00:00
remove ToTokens impl
This commit is contained in:
parent
6911e72ecc
commit
e03476316c
@ -39,7 +39,7 @@ pub enum TestGeneratorError {
|
||||
AttributesError(#[from] DarlingError),
|
||||
|
||||
#[error(
|
||||
"neither attribute specified nor service config contains modules_dir, please specify it"
|
||||
"neither modules_dir attribute specified nor service config contains modules_dir, please specify one of them"
|
||||
)]
|
||||
ModulesDirUnspecified,
|
||||
}
|
||||
@ -49,12 +49,3 @@ pub enum CorruptedITSection {
|
||||
#[error("record with {0} is absent in embedded IT section")]
|
||||
AbsentRecord(u64),
|
||||
}
|
||||
|
||||
use proc_macro2::TokenStream;
|
||||
|
||||
impl quote::ToTokens for TestGeneratorError {
|
||||
fn to_tokens(&self, tokens: &mut TokenStream) {
|
||||
let error_as_text = format!("Error was encountered inside fce_test: {}", self);
|
||||
error_as_text.to_tokens(tokens);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user