You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is one of the tests in syntax-extension-fmt.rs:
printf("%06.5x\n", 127);
In this case the zero-padding overrides the precision (.5) so precision has no effect. Old gcc's accepted this silently, so we do too, but gcc 4.5 (at least) prints a warning about zero-padding and precision being incompatible here, so we should make this (and similar) cases into compile time errors.