rustc_version!() { /* proc-macro */ }Expand description
Returns the Rust compiler version as semver::Version.
ยงExample
const RUSTC_VERSION: semver::Version = compile_time::rustc_version!();
assert_eq!(RUSTC_VERSION, rustc_version::version().unwrap());