From e5e54ee8f1b7afca614f642ee064a7f00a1f8548 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sat, 16 Feb 2019 00:28:12 +0100 Subject: [PATCH] rebase fix --- macros/src/codegen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/src/codegen.rs b/macros/src/codegen.rs index 1405c2f69a..af09ad4286 100644 --- a/macros/src/codegen.rs +++ b/macros/src/codegen.rs @@ -364,7 +364,7 @@ fn init(ctxt: &mut Context, app: &App, analysis: &Analysis) -> (proc_macro2::Tok let (late_resources, late_resources_ident, ret) = if app.init.returns_late_resources { // create `LateResources` struct in the root of the crate - let ident = mk_ident(None); + let ident = ctxt.ident_gen.mk_ident(None, false); let fields = app .resources