mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
0cea5eef5e
core/num: Fix feature name for unstable `integer_extend_truncate` functions Tracking issue: https://github.com/rust-lang/rust/issues/154330 Feature gate: `#![feature(integer_extend_truncate)]` --- The feature name for the const unstable attribute was accidentally transposed when const traits were added in https://github.com/rust-lang/rust/pull/154356/changes/68c833906666fb428e6a32f8006f3bc8f6a7833e. ```diff #[unstable(feature = "integer_extend_truncate", issue = "154330")] + #[rustc_const_unstable(feature = "integer_truncate_extend", issue = "154330")] ```