From ecc994e283397f1e8662cab5dc924faeb2e893ca Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 2 Dec 2023 21:50:22 +0900 Subject: [PATCH] Update compile_fail doctest --- crossbeam-utils/src/thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crossbeam-utils/src/thread.rs b/crossbeam-utils/src/thread.rs index f71fdea21..2d4805e12 100644 --- a/crossbeam-utils/src/thread.rs +++ b/crossbeam-utils/src/thread.rs @@ -84,7 +84,7 @@ //! tricky because argument `s` lives *inside* the invocation of `thread::scope()` and as such //! cannot be borrowed by scoped threads: //! -//! ```compile_fail,E0373,E0521 +//! ```compile_fail,E0521 //! use crossbeam_utils::thread; //! //! thread::scope(|s| {