From 3bfb1fab945d5364b0e2dacf633d8b812a303545 Mon Sep 17 00:00:00 2001 From: Jelte Fennema Date: Sun, 2 Jul 2023 12:25:03 +0200 Subject: [PATCH] Hopefully fix doc tests on stable --- impl/doc/error.md | 1 + 1 file changed, 1 insertion(+) diff --git a/impl/doc/error.md b/impl/doc/error.md index 5a495bb9..5ca38b41 100644 --- a/impl/doc/error.md +++ b/impl/doc/error.md @@ -47,6 +47,7 @@ ignored for one of these methods by using `#[error(not(backtrace))]` or If you want to use the `Error` derive on `no_std` environments, then you need to compile with nightly and enable this feature: ```rust +# #[cfg(nightly)] #![feature(error_in_core)] ```