Luke Frisken
Luke Frisken
I've also just run into this issue, I guess the more idiomatic way to handle this situation is to make the referenced module into a full blown library referenced by...
@curldivergence my use case sounds similar, auto generated module, I still didn't implement this workaround for the same reason.
I see that there is a test which appears to cover this case? https://github.com/rust-lang/rust-analyzer/blob/ba329913fa33c29d4ccabf46998d3a0cfac57b0c/crates/hir-def/src/nameres/tests/mod_resolution.rs#L322-L347
I only just spotted this today, I recently implemented a similar idea in this crate: https://crates.io/crates/i18n-embed-fl for anyone interested.
@dvc94ch it seems likely
I'm currently having a problem where a task started in `spawn_local` (from `main()`, outside of any `spawn` or `block_on`)doesn't actually start/do anything. I was hoping to use it for something...
> If executor threads run thread local executors, that means the event loop can't be moved onto a new thread, if need be. I can see us locking out of...
> I'm currently having a problem where a task started in `spawn_local` (from `main()`, outside of any `spawn` or `block_on`)doesn't actually start/do anything. I was hoping to use it for...
One use case which I haven't seen mentioned here yet is the ability to override templates at runtime to allow user customizable templates
@qarmin hello did you see my reply? 🙂