You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
From cc8baaf562c4d3bda50db88da33e8772c1f620cd Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
|
|
|
|
Date: Thu, 10 Oct 2024 17:43:14 -0400
|
|
|
|
|
Subject: [PATCH] EPEL9: Ignore doctests that require very recent Rust
|
|
|
|
|
compilers
|
|
|
|
|
MIME-Version: 1.0
|
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
|
|
In this crate, some doctests use Rust features from versions newer than
|
|
|
|
|
the MSRV. It’s therefore necessary to ignore some of them on EPEL9. If
|
|
|
|
|
this patch becomes too unwieldy, we could choose to start skipping
|
|
|
|
|
doctests there entirely.
|
|
|
|
|
---
|
|
|
|
|
src/lib.rs | 2 +-
|
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
|
|
diff --git a/src/lib.rs b/src/lib.rs
|
|
|
|
|
index 3213b7b..96f7e83 100644
|
|
|
|
|
--- a/src/lib.rs
|
|
|
|
|
+++ b/src/lib.rs
|
|
|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
|
//! Being able to construct `ConstTypeId` in const makes it suitable for use
|
|
|
|
|
//! cases that rely on static promotion:
|
|
|
|
|
//!
|
|
|
|
|
-//! ```
|
|
|
|
|
+//! ```ignore
|
|
|
|
|
//! use std::fmt::{self, Debug, Display};
|
|
|
|
|
//! use std::ptr;
|
|
|
|
|
//! use typeid::ConstTypeId;
|
|
|
|
|
--
|
|
|
|
|
2.46.2
|
|
|
|
|
|