about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2024-10-14 15:27:37 -0400
committerGitHub <noreply@github.com>2024-10-14 15:27:37 -0400
commiteb6062ce00cce6fa1973466e6b2fb376e3e89cc8 (patch)
treef61bf5da1e4463745539472e5d5db3e7ed599d1c /compiler/rustc_parse/src
parent9322d183f45e0fd5a509820874cc5ff27744a479 (diff)
downloadrust-eb6062ce00cce6fa1973466e6b2fb376e3e89cc8.tar.gz
rust-eb6062ce00cce6fa1973466e6b2fb376e3e89cc8.zip
Resolved python deprecation warning in publish_toolstate.py
`utcnow()` is deprecated in favor of passing a timezone to `now()`. `utcnow()` would return a tz-naive datetime, while this returns a tz-aware datetime. For the purposes of the formatting we do, these are the same.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions