-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error[E0425]: cannot find value app
in this scope
#424
Comments
I played around a bit with --- src/runtime.rs
+++ src/runtime.rs
@@ -228,7 +228,7 @@ pub fn push_ident_spanned(tokens: &mut TokenStream, span: Span, s: &str) {
if s.starts_with("r#") {
parse_spanned(tokens, span, s);
} else {
- tokens.append(Ident::new(s, span));
+ tokens.append(Ident::new(s, Span::call_site()));
}
}
Not really sure what this means, though. |
That means that the The app here should be |
Awesome! |
This change updates the structopt crate to version 0.3.13. We need this version as it fixes a compilation error [0] when using the external_subcommand enum variant annotation provided by the crate. This functionality will be used in a follow up change that enables usage of user provided extensions. [0]: TeXitoi/structopt#424
This change updates the structopt crate to version 0.3.13. We need this version as it fixes a compilation error [0] when using the external_subcommand enum variant annotation provided by the crate. This functionality will be used in a follow up change that enables usage of user provided extensions. [0]: TeXitoi/structopt#424
This change updates the structopt crate to version 0.3.13. We need this version as it fixes a compilation error [0] when using the external_subcommand enum variant annotation provided by the crate. This functionality will be used in a follow up change that enables usage of user provided extensions. [0]: TeXitoi/structopt#424
This change updates the structopt crate to version 0.3.13. We need this version as it fixes a compilation error [0] when using the external_subcommand enum variant annotation provided by the crate. This functionality will be used in a follow up change that enables usage of user provided extensions. [0]: TeXitoi/structopt#424
This change updates the structopt crate to version 0.3.17. We need this version as it fixes a compilation error [0] when using the external_subcommand enum variant annotation provided by the crate. This functionality will be used in a follow up change that enables usage of user provided extensions. [0]: TeXitoi/structopt#424
I have the following code:
And it fails to compile (0.3.16, default features):
I checked the expanded output and everything seems perfectly fine.
So then I came up with the following patch to
structopt-derive
:And now everything works. I am not really sure what to make of that. I checked the
quote_spanned
macro but nothing stood out. Any ideas?The text was updated successfully, but these errors were encountered: