I'm submitting a ... (check one with "x")
Recent update is causing error when compiling app.
Previously code was successful with lib.rs setting:
#![recursion_limit = "160"]
Compilation of code fails. Error given regardless of how high the recursion limit is set (here I am trying it with 512).
Compiling coolcats2 v0.1.0 (/Users/mahakal/Development/Apps/coolcats2/ui-src)
error: recursion limit reached while expanding the macro `$crate::dispatch`
--> src/application/interfaces/app.rs:61:13
|
61 | / html! {
62 | | <div class="container",>
63 | | <div class="spinner transition500",/>
64 | | <div class="error transition500",/>
... |
164 | | </div>
165 | | }
| |_____________^
|
= help: consider adding a `#![recursion_limit="1024"]` attribute to your crate
= 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: aborting due to previous error
error: Could not compile `coolcats2`.
(previously worked with https://github.com/DenisKolodin/yew#db6c6e01)
Thanks @pythagorean for the question. The increased recursion is due to the switch to using a procedural macro for html! which uses a lot of recursion due to this crate: https://github.com/dtolnay/quote#recursion-limit.
Are you able to compile if you increase your recursion limit even higher?
Thanks @pythagorean for the question. The increased recursion is due to the switch to using a procedural macro for
html!which uses a lot of recursion due to this crate: https://github.com/dtolnay/quote#recursion-limit.Are you able to compile if you increase your recursion limit even higher?
I guess I stopped trying too soon. If I bump my recursion limit to 640 it seems to compile now.
Most helpful comment
I guess I stopped trying too soon. If I bump my recursion limit to 640 it seems to compile now.