We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 195ae74 commit d96b2fcCopy full SHA for d96b2fc
1 file changed
library/core/src/num/imp/overflow_panic.rs
@@ -50,8 +50,8 @@ pub(in crate::num) const fn shl() -> ! {
50
panic!("attempt to shift left with overflow")
51
}
52
53
-#[cold]
54
#[track_caller]
+#[rustc_panic_entrypoint]
55
pub(in crate::num) const fn cast_integer() -> ! {
56
panic!("attempt to cast integer with overflow")
57
0 commit comments