Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 15e3bc5

Browse files
authoredMay 19, 2024
Unrolled build for rust-lang#125252
Rollup merge of rust-lang#125252 - beetrees:patch-1, r=joboet Add `#[inline]` to float `Debug` fallback used by `cfg(no_fp_fmt_parse)` Fixes rust-lang#125229.
2 parents 7d2a95b + 827711d commit 15e3bc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎library/core/src/fmt/nofloat.rs

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ macro_rules! floating {
44
($ty:ident) => {
55
#[stable(feature = "rust1", since = "1.0.0")]
66
impl Debug for $ty {
7+
#[inline]
78
fn fmt(&self, _fmt: &mut Formatter<'_>) -> Result {
89
panic!("floating point support is turned off");
910
}

0 commit comments

Comments
 (0)
Failed to load comments.