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:
commit
fa14810f21
9 changed files with 60 additions and 93 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue