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.
rust-typeid/0001-EPEL9-Ignore-doctests-...

34 lines
1015 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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. Its 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