Fixed imports after name change

This commit is contained in:
Thelie 2022-03-27 17:57:29 +02:00
parent 655148b2c4
commit 52c85c61b9

View file

@ -214,7 +214,7 @@ fn loop_inner(input: LoopParams, span: Span) -> Result<TokenStream2, Box<dyn Err
Some(f) => f, Some(f) => f,
None => { None => {
parse2::<Path>(quote! { parse2::<Path>(quote! {
sing::callobj_to_string sing_rs::callobj_to_string
})? })?
} }
}; };
@ -224,7 +224,7 @@ fn loop_inner(input: LoopParams, span: Span) -> Result<TokenStream2, Box<dyn Err
Some(f) => f, Some(f) => f,
None => { None => {
parse2::<Path>(quote! { parse2::<Path>(quote! {
sing::callobj_from_string sing_rs::callobj_from_string
})? })?
} }
}; };
@ -282,7 +282,7 @@ fn loop_inner(input: LoopParams, span: Span) -> Result<TokenStream2, Box<dyn Err
let message_type = match message_type { let message_type = match message_type {
Some(m) => m, Some(m) => m,
None => parse2::<Path>(quote! { None => parse2::<Path>(quote! {
sing::CallObj sing_rs::CallObj
})?, })?,
}; };
@ -442,7 +442,7 @@ fn loop_inner(input: LoopParams, span: Span) -> Result<TokenStream2, Box<dyn Err
// processing it by the match statements constructed above and write to output. // processing it by the match statements constructed above and write to output.
Ok(quote! { Ok(quote! {
use std::io::{BufRead, Write}; use std::io::{BufRead, Write};
use sing::TraitCallMessage; use sing_rs::TraitCallMessage;
#( #initializations )* #( #initializations )*