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 @@ fn resolve_closure(
// 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

View file

@ -16,8 +16,6 @@
//!
//! The goal is to eventually be published on
//! [crates.io](https://crates.io).
#[macro_use]
extern crate scoped_tls;
use std::fmt;
use std::fmt::Debug;