refactor: use single unified syntax shim type instead of many
This commit is contained in:
parent
dc3c3bac11
commit
c514a38d35
1 changed files with 102 additions and 92 deletions
|
|
@ -22,7 +22,7 @@ pub fn sassy_macro_impl(input: TokenStream) -> TokenStream {
|
|||
};
|
||||
|
||||
// quick raffia syntax check
|
||||
match ArbitraryScope::from_source(mode.into(), ident.clone(), &code.code) {
|
||||
match ArbitraryScope::from_source(mode.0, ident.clone(), &code.code) {
|
||||
Ok(_) => {}
|
||||
Err(e) => return syn::Error::new(code.span, format!("{e:?}")).into_compile_error(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue