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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user