We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20f622c commit 24955d9Copy full SHA for 24955d9
1 file changed
core/src/fmt/rt.rs
@@ -154,6 +154,7 @@ impl Argument<'_> {
154
Self::new(x, UpperExp::fmt)
155
}
156
#[inline]
157
+ #[track_caller]
158
pub const fn from_usize(x: &usize) -> Argument<'_> {
159
if *x > u16::MAX as usize {
160
panic!("Formatting argument out of range");
0 commit comments