Don't throw away unused arguments of format_args by m-ou-se · Pull Request #118659 · rust-lang/rust (original) (raw)

Ah, I didn't see that PR. Oops.

That PR fixes the issue too. (It seems to be stuck though?)

There's a subtle difference, and that is that with #[allow(overflowing_literals)], print!("{}", 1234u8) with this PR will still result in 1234, while that PR will result in 210, which would be more correct.

I really don't understand why overflowing literals is a lint rather than a hard error though.