From 6303b54fb848d3d06d6a69479936f2d2900b3246 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 26 Apr 2021 17:22:05 +0200 Subject: [PATCH] add new const_fn_trait_bound feature gate --- lock_api/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lock_api/src/lib.rs b/lock_api/src/lib.rs index d9097a39..8af2a4b6 100644 --- a/lock_api/src/lib.rs +++ b/lock_api/src/lib.rs @@ -88,7 +88,7 @@ #![no_std] #![warn(missing_docs)] #![warn(rust_2018_idioms)] -#![cfg_attr(feature = "nightly", feature(const_fn))] +#![cfg_attr(feature = "nightly", feature(const_fn, const_fn_trait_bound))] #[macro_use] extern crate scopeguard;