You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: `make_transactions_handler::{opaque#0}<'_>` does not live long enough
--> src/core/generic_contract/mod.rs:43:62
|
43 | on_transactions_found.as_mut().map(|handler| handler as _),
| ^^^^^^^
I believe this is a duplicate of #104445 and is a beta regression. Currently the expectation is that this is intentional and will land in stable with 1.66. If you have questions about your particular case I would ask in that thread.
Project successfully compiles on stable.
Fails to compile with nightly:
How to reproduce:
searched nightlies: from nightly-2022-09-24 to nightly-2022-09-26
regressed nightly: nightly-2022-09-26
searched commit range: 3f83906...f5193a9
regressed commit: f5193a9
bisected with cargo-bisect-rustc v0.6.4
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
The text was updated successfully, but these errors were encountered: