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[E0261]: use of undeclared lifetime name `'a` --> src/main.rs:6:45 |1 | #[cxx::bridge] | - lifetime `'a` is missing in item created through this procedural macro...6 | fn call_back<'a>(i: &'a i32, f: fn(&'a i32)); | ^^ undeclared lifetime | = note: for more information on higher-ranked polymorphism, visit https://doc.rust-lang.org/nomicon/hrtb.html = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributeshelp: consider making the type lifetime-generic with a new `'a` lifetime |6 | fn call_back<'a>(i: &'a i32, f: for<'a> fn(&'a i32)); | ^^^^^^^
The text was updated successfully, but these errors were encountered:
Repro:
The text was updated successfully, but these errors were encountered: