ci: fix nightly unused import warnings
This commit is contained in:
parent
de6162f533
commit
572a27d2d3
|
@ -1,2 +1,4 @@
|
|||
#[cfg(Py_LIMITED_API)]
|
||||
// This header doesn't exist in CPython, but Include/cpython/code.h does. We add
|
||||
// this here so that PyCodeObject has a definition under the limited API.
|
||||
|
||||
opaque_struct!(PyCodeObject);
|
||||
|
|
|
@ -262,6 +262,7 @@ pub use self::boolobject::*;
|
|||
pub use self::bytearrayobject::*;
|
||||
pub use self::bytesobject::*;
|
||||
pub use self::ceval::*;
|
||||
#[cfg(Py_LIMITED_API)]
|
||||
pub use self::code::*;
|
||||
pub use self::codecs::*;
|
||||
pub use self::compile::*;
|
||||
|
@ -326,6 +327,7 @@ mod bytesobject;
|
|||
// skipped cellobject.h
|
||||
mod ceval;
|
||||
// skipped classobject.h
|
||||
#[cfg(Py_LIMITED_API)]
|
||||
mod code;
|
||||
mod codecs;
|
||||
mod compile;
|
||||
|
|
|
@ -439,6 +439,7 @@ pub mod once_cell {
|
|||
pub use crate::sync::{GILOnceCell, Interned};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)] // with no features enabled this module has no public exports
|
||||
pub use crate::conversions::*;
|
||||
|
||||
#[cfg(feature = "macros")]
|
||||
|
|
|
@ -149,4 +149,5 @@ mod inner {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(unused_imports)] // some tests use just the macros and none of the other functionality
|
||||
pub use inner::*;
|
||||
|
|
Loading…
Reference in a new issue