diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-07-08 15:41:13 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-07-08 15:49:00 +0000 |
| commit | b1d45f6b3e672cee544e6ff197a9f21022026871 (patch) | |
| tree | d8d02ba2800f491ece65a118cd5e4562e846565e /library/core/src | |
| parent | 543c860ea6c78e77b0a12685e066a74fe26dc301 (diff) | |
| download | rust-b1d45f6b3e672cee544e6ff197a9f21022026871.tar.gz rust-b1d45f6b3e672cee544e6ff197a9f21022026871.zip | |
Remove `const_eval_select` hack
Diffstat (limited to 'library/core/src')
| -rw-r--r-- | library/core/src/intrinsics/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/intrinsics/mod.rs b/library/core/src/intrinsics/mod.rs index 791d10eda6d..1ac0c7ff89b 100644 --- a/library/core/src/intrinsics/mod.rs +++ b/library/core/src/intrinsics/mod.rs @@ -2279,7 +2279,7 @@ pub const fn const_eval_select<ARG: Tuple, F, G, RET>( ) -> RET where G: FnOnce<ARG, Output = RET>, - F: FnOnce<ARG, Output = RET>; + F: const FnOnce<ARG, Output = RET>; /// A macro to make it easier to invoke const_eval_select. Use as follows: /// ```rust,ignore (just a macro example) |
