about summary refs log tree commit diff
path: root/library/core/src/num/f128.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-11-03 19:58:57 +0100
committerRalf Jung <post@ralfj.de>2024-11-05 09:26:08 +0100
commit613f53ef19c94e461428dff1df3db7fe9bed5fb9 (patch)
tree5426407e68df748364964ebda32dc972320838f0 /library/core/src/num/f128.rs
parent56c6a2f9b1175b81835f6b3ed41bd6daffb3724e (diff)
downloadrust-613f53ef19c94e461428dff1df3db7fe9bed5fb9.tar.gz
rust-613f53ef19c94e461428dff1df3db7fe9bed5fb9.zip
add const_eval_select macro to reduce redundancy
also move internal const_panic helpers to a better location
Diffstat (limited to 'library/core/src/num/f128.rs')
-rw-r--r--library/core/src/num/f128.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/f128.rs b/library/core/src/num/f128.rs
index 7709e7de01b..0484611958d 100644
--- a/library/core/src/num/f128.rs
+++ b/library/core/src/num/f128.rs
@@ -14,9 +14,9 @@
 use crate::convert::FloatToInt;
 #[cfg(not(test))]
 use crate::intrinsics;
-use crate::macros::const_assert;
 use crate::mem;
 use crate::num::FpCategory;
+use crate::panic::const_assert;
 
 /// Basic mathematical constants.
 #[unstable(feature = "f128", issue = "116909")]