From e68dfb7be743f1b4320deb33028424c154d8ce44 Mon Sep 17 00:00:00 2001 From: Julian Antonielli Date: Tue, 11 Oct 2022 13:12:02 +0100 Subject: [PATCH] Ignore doctest for non-exported macro Rust 1.62 introduced a breaking change where doctests for non-exported macros are now run by default. These don't compile because the macro can't be imported in it. See https://github.com/rust-lang/rust/issues/97030 for more info. --- aws/rust-runtime/aws-types/src/build_metadata.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/rust-runtime/aws-types/src/build_metadata.rs b/aws/rust-runtime/aws-types/src/build_metadata.rs index 32e532c773..959f728411 100644 --- a/aws/rust-runtime/aws-types/src/build_metadata.rs +++ b/aws/rust-runtime/aws-types/src/build_metadata.rs @@ -41,7 +41,7 @@ pub enum OsFamily { /// is set to a specific value. This macro simplifies checking the current OS family. /// /// Usage: -/// ```rust +/// ```ignore /// let os = get_os_family!(target_os: ("linux", OsFamily::Windows), ("android", OsFamily::Android)); /// ``` macro_rules! get_os_family {