Drop test indirection required only until Rust 1.54.

This commit is contained in:
Adam Reichold 2023-06-05 12:33:17 +02:00
parent 6f987263c1
commit eb292711a7
3 changed files with 3 additions and 13 deletions

View File

@ -48,7 +48,6 @@ chrono = { version = "0.4" }
criterion = "0.3.5"
# Required for "and $N others" normalization
trybuild = ">=1.0.70"
rustversion = "1.0"
# 1.0.0 requires Rust 1.50
proptest = { version = "0.10.1", default-features = false, features = ["std"] }
send_wrapper = "0.6"

View File

@ -1,8 +1,10 @@
#![cfg(feature = "macros")]
use pyo3::prelude::*;
use pyo3::types::IntoPyDict;
#[macro_use]
#[path = "../common.rs"]
#[path = "common.rs"]
mod common;
#[pyclass]

View File

@ -1,11 +0,0 @@
#![cfg(feature = "macros")]
//! Functionality which is not only not supported on MSRV,
//! but can't even be cfg-ed out on MSRV because the compiler doesn't support
//! the syntax.
#[rustversion::since(1.54)]
mod requires_1_54 {
include!("not_msrv/requires_1_54.rs");
}