about summary refs log tree commit diff
path: root/library/std/src/time.rs
diff options
context:
space:
mode:
authormbartlett21 <29034492+mbartlett21@users.noreply.github.com>2021-09-21 21:18:57 +1000
committerGitHub <noreply@github.com>2021-09-21 21:18:57 +1000
commite4faf17437ae3aa7609a415d061817e40d3f9ab3 (patch)
tree97c37b73718858984644bbf0c5650b6ff5ab8775 /library/std/src/time.rs
parent33766ae3723ca09618180ee6efa5dd20c1cc3995 (diff)
downloadrust-e4faf17437ae3aa7609a415d061817e40d3f9ab3.tar.gz
rust-e4faf17437ae3aa7609a415d061817e40d3f9ab3.zip
Re-export FromSecsError from `std`
Diffstat (limited to 'library/std/src/time.rs')
-rw-r--r--library/std/src/time.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/time.rs b/library/std/src/time.rs
index e9207ee3617..bf3eb5b30c7 100644
--- a/library/std/src/time.rs
+++ b/library/std/src/time.rs
@@ -44,6 +44,9 @@ use crate::sys_common::FromInner;
 #[stable(feature = "time", since = "1.3.0")]
 pub use core::time::Duration;
 
+#[unstable(feature = "duration_checked_float", issue = "83400")]
+pub use core::time::FromSecsError;
+
 /// A measurement of a monotonically nondecreasing clock.
 /// Opaque and useful only with [`Duration`].
 ///