mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
Fixing tests
This commit is contained in:
parent
633012190b
commit
98d2af9d73
75 changed files with 591 additions and 1183 deletions
|
|
@ -31,17 +31,6 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> CodegenResult {
|
|||
|
||||
let mut root_init = vec![];
|
||||
|
||||
// TODO: Fix locals
|
||||
// let mut locals_pat = None;
|
||||
// let mut locals_new = None;
|
||||
// if !init.locals.is_empty() {
|
||||
// let (struct_, pat) = locals::codegen(Context::Init, &init.locals, app);
|
||||
|
||||
// locals_new = Some(quote!(#name::Locals::new()));
|
||||
// locals_pat = Some(pat);
|
||||
// root_init.push(struct_);
|
||||
// }
|
||||
|
||||
let context = &init.context;
|
||||
let attrs = &init.attrs;
|
||||
let stmts = &init.stmts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue