Skip to content

Commit 4c26c1e

Browse files
committed
Auto merge of #148587 - RalfJung:duration_from_nanos_u128, r=Mark-Simulacrum,oli-obk
stabilize duration_from_nanos_u128 libs-api FCP passed in rust-lang/rust#139201. Closes rust-lang/rust#139201. `@oli-obk` would you prefer if we did a const-hack to avoid allowing `const_trait_impl` here?
2 parents 5ff4396 + a9f1f99 commit 4c26c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#![feature(derive_coerce_pointee)]
1818
#![feature(arbitrary_self_types)]
1919
#![feature(iter_advance_by)]
20-
#![feature(duration_from_nanos_u128)]
20+
#![cfg_attr(bootstrap, feature(duration_from_nanos_u128))]
2121
// Configure clippy and other lints
2222
#![allow(
2323
clippy::collapsible_else_if,

0 commit comments

Comments
 (0)