summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_session/src/version.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_session/src/version.rs')
-rw-r--r--compiler/rustc_session/src/version.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/version.rs b/compiler/rustc_session/src/version.rs
index 1ad8620bf..c0c088bce 100644
--- a/compiler/rustc_session/src/version.rs
+++ b/compiler/rustc_session/src/version.rs
@@ -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 {