Skip to content

Commit

Permalink
Merge #281
Browse files Browse the repository at this point in the history
281: add new const_fn_trait_bound feature gate r=Amanieu a=RalfJung

This (and a subsequent release of `lock_api`) is needed to make rust-lang/rust#84556 work.

Co-authored-by: Ralf Jung <post@ralfj.de>
  • Loading branch information
bors[bot] and RalfJung committed Apr 26, 2021
2 parents d763fca + 6303b54 commit 7f7eb23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lock_api/src/lib.rs
Expand Up @@ -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;
Expand Down

0 comments on commit 7f7eb23

Please sign in to comment.