about summary refs log tree commit diff
path: root/library/core/src/num/mod.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-10-08 14:11:44 +0200
committerRalf Jung <post@ralfj.de>2024-10-25 20:31:40 +0200
commit16b9bb744da42ef89e46f6feaf3497639b9b55e0 (patch)
treeb2e181157581079d92367506ebbb3711569a75b3 /library/core/src/num/mod.rs
parent3854e16fa2b2ee004ff2cbc71b28f9de28306942 (diff)
downloadrust-16b9bb744da42ef89e46f6feaf3497639b9b55e0.tar.gz
rust-16b9bb744da42ef89e46f6feaf3497639b9b55e0.zip
get rid of the internal unlikely macro
Diffstat (limited to 'library/core/src/num/mod.rs')
-rw-r--r--library/core/src/num/mod.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/library/core/src/num/mod.rs b/library/core/src/num/mod.rs
index 05ecfe431d0..f95cfd33ae5 100644
--- a/library/core/src/num/mod.rs
+++ b/library/core/src/num/mod.rs
@@ -16,13 +16,6 @@ macro_rules! try_opt {
     };
 }
 
-#[cfg_attr(bootstrap, allow_internal_unstable(const_likely))]
-macro_rules! unlikely {
-    ($e: expr) => {
-        intrinsics::unlikely($e)
-    };
-}
-
 // Use this when the generated code should differ between signed and unsigned types.
 macro_rules! sign_dependent_expr {
     (signed ? if signed { $signed_case:expr } if unsigned { $unsigned_case:expr } ) => {