1
Fork 0

Remove extern crate scoped_tls from stable_mir.

This commit is contained in:
Nicholas Nethercote 2024-04-29 16:57:03 +10:00
parent 6341935a13
commit 2088de2889
2 changed files with 1 additions and 3 deletions

View file

@ -221,7 +221,7 @@ pub trait Context {
// A thread local variable that stores a pointer to the tables mapping between TyCtxt
// datastructures and stable MIR datastructures
scoped_thread_local!(static TLV: Cell<*const ()>);
scoped_tls::scoped_thread_local!(static TLV: Cell<*const ()>);
pub fn run<F, T>(context: &dyn Context, f: F) -> Result<T, Error>
where