error[E0391]: cycle detected when optimizing MIR for `tests::test_callback::{closure#0}::{closure#1}`
--> src/lib.rs:280:69
|
280 | let insert = Event::<Sqlite, Foo>::call(async move |db| {
| _____________________________________________________________________^
281 | | // async move {
282 | | let text: String = rand::thread_rng()
283 | | .sample_iter(rand::distributions::Alphanumeric)
... |
290 | | // }
291 | | });
| |_________^
|
= note: ...which immediately requires optimizing MIR for `tests::test_callback::{closure#0}::{closure#1}` again
note: cycle used when generating MIR shim for `core::ptr::drop_in_place`
--> /rustc/26b5599e4d6ed2b45152c60493c1788c0a27533d/library/core/src/ptr/mod.rs:574:1
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information