-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve timezone APIs #5747
Improve timezone APIs #5747
Conversation
@@ -1013,7 +1007,7 @@ impl_zone_marker!( | |||
/// only a full time zone info can be formatted with this style. | |||
/// For example, [`TimeZoneInfo<AtTime>`] cannot be formatted. | |||
/// | |||
/// ```compile_fail | |||
/// ```compile_fail,E0271 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can put the expected error number here? I've never seen that before but I love if it works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have comments on this but it's merged. I'll leave them after my meetings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, this looks good to me
TimeZoneInfo
TimeZoneInfo
ZoneOffsetCalculator