let local_crate = stable_mir::local_crate();
tcx.crate_extern_paths(stable_mir::rustc_internal::crate_num(&local_crate)); // ICE
error: internal compiler error: compiler/rustc_middle/src/query/plumbing.rs:706:5:
`tcx.crate_extern_paths(LocalCrate)` is not supported for this key;
hint: Queries can be either made to the local crate, or the external crate.
This error means you tried to use it for one that's not supported.
If that's not the case, crate_extern_paths was likely never assigned to a provider function.
thread 'rustc' panicked at compiler/rustc_middle/src/query/plumbing.rs:706:5:
Box<dyn Any>