diff --git a/src/err/err_state.rs b/src/err/err_state.rs
index d2285a7a1ca..17034698a03 100644
--- a/src/err/err_state.rs
+++ b/src/err/err_state.rs
@@ -1,9 +1,3 @@
-use std::{
- cell::UnsafeCell,
- sync::{Mutex, Once},
- thread::ThreadId,
-};
-
use crate::{
exceptions::{PyBaseException, PyTypeError},
ffi,
@@ -12,14 +6,7 @@ use crate::{
Bound, Py, PyAny, PyErrArguments, PyTypeInfo, Python,
};
-pub(crate) struct PyErrState {
- // Safety: can only hand out references when in the "normalized" state. Will never change
- // after normalization.
- normalized: Once,
- // Guard against re-entrancy when normalizing the exception state.
- normalizing_thread: Mutex