diff options
| author | Ralf Jung <post@ralfj.de> | 2025-09-12 17:16:38 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-09-12 17:16:38 +0200 |
| commit | 5d8e41b656fa2802c8ab52d4c72ad67e8ff345c2 (patch) | |
| tree | b4d49fd5d5dc5aa1e4a0a6577385d3319317321a /library/std/src/lib.rs | |
| parent | ac4495a10db552483c0c0a0049962850ca4123c2 (diff) | |
| download | rust-5d8e41b656fa2802c8ab52d4c72ad67e8ff345c2.tar.gz rust-5d8e41b656fa2802c8ab52d4c72ad67e8ff345c2.zip | |
Revert "Constify SystemTime methods"
This reverts commit 7ce620dd7c6fc3371290b40a1ea28146f0d37031. The const-hacks introduces bugs, and they make the code harder to maintain. Let's wait until we can constify these functions without changing their implementation.
Diffstat (limited to 'library/std/src/lib.rs')
| -rw-r--r-- | library/std/src/lib.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 5725816c600..33e3bf0c085 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -284,7 +284,6 @@ #![feature(core_float_math)] #![feature(decl_macro)] #![feature(deprecated_suggestion)] -#![feature(derive_const)] #![feature(doc_cfg)] #![feature(doc_cfg_hide)] #![feature(doc_masked)] @@ -332,11 +331,7 @@ #![feature(cfg_select)] #![feature(char_internals)] #![feature(clone_to_uninit)] -#![feature(const_cmp)] #![feature(const_convert)] -#![feature(const_ops)] -#![feature(const_option_ops)] -#![feature(const_try)] #![feature(core_intrinsics)] #![feature(core_io_borrowed_buf)] #![feature(drop_guard)] |
