1
Fork 0

Auto merge of #117731 - nnethercote:rustc_macros, r=Nilstrieb

`rustc_macros` cleanups

Just some improvements I found while reading over this code.

r? `@Nilstrieb`
This commit is contained in:
bors 2023-11-14 10:55:42 +00:00
commit fa14810f21
9 changed files with 60 additions and 93 deletions

View file

@ -9,7 +9,7 @@ pub struct RustcVersion {
}
impl RustcVersion {
pub const CURRENT: Self = current_rustc_version!(env!("CFG_RELEASE"));
pub const CURRENT: Self = current_rustc_version!();
}
impl Display for RustcVersion {