Now: trying to figure out how to regrow a tongue
| Dog | Pontus |
| Website | https://space-wizards.net/ |
| Home Town | Space 🛰 |
| Emoji | 🍗 |
| Dog | Pontus |
| Website | https://space-wizards.net/ |
| Home Town | Space 🛰 |
| Emoji | 🍗 |
Oh, as a topic wanderer myself (I don’t like the word “generalist”), I love and endorse this comic.
(via @simondlr’s newsletter).
Yikes this is a nasty rustc compiler bug that is in stable: https://github.com/rust-lang/rust/issues/64552#issuecomment-533267241
The sucky part is appears you can trigger it by consuming a normal async function. The actual code that needs to be fixed is not even in the diagnostic.
use std::collections::{BTreeMap, HashMap}; use std::sync::Arc; fn needs_send<T: Send>(_val: T) {} async fn async_fn_a(_num: u32) {} async fn async_fn_b(map: Arc<BTreeMap<u32, &'static u32>>) { for ...