Skip to content
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

Build error on latest nightly Rust 1.39: "cannot find macro proc_macro_call_1! in this scope" #600

Closed
serzhiio opened this issue Aug 17, 2019 · 4 comments

Comments

@serzhiio
Copy link
Contributor

error: cannot find macro `proc_macro_call_1!` in this scope
   --> src\components\select.rs:90:9
    |
90  | /         html! {
91  | |             <select disabled=self.props.disabled
92  | |                     onchange=|event| {
93  | |                         match event {
...   |
107 | |             </select>
108 | |         }
    | |_________^ in this macro invocation
    |
    = help: have you added the `#[macro_use]` on the module/import?
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: cannot find macro `proc_macro_call_0!` in this scope
  --> src\components\select.rs:86:13
   |
86 | /             html! {
87 | |                 <option selected=flag>{ value.to_string() }</option>
88 | |             }
   | |_____________^ in this macro invocation
   |
   = help: have you added the `#[macro_use]` on the module/import?
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

@jstarry
Copy link
Member

jstarry commented Aug 17, 2019

Thanks for the report @serzhiio! Looks like this was an inadvertent regression which will be fixed on the next nightly rust-lang/rust#63651

@jstarry jstarry closed this as completed Aug 17, 2019
@jstarry
Copy link
Member

jstarry commented Aug 17, 2019

We can leave this open until we confirm that nightly is fixed again

@jstarry jstarry reopened this Aug 17, 2019
@serzhiio
Copy link
Contributor Author

Compiling with '+stable' option is working as intended.

@serzhiio
Copy link
Contributor Author

Latest nightly has no errors when building!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants