mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
fixup
This commit is contained in:
parent
ba5067a6f0
commit
b196e5b2f6
@ -481,8 +481,7 @@ bcde", b"abcde",
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_value_underscores() {
|
fn test_value_underscores() {
|
||||||
#[allow(clippy::approx_constant)]
|
check_float_value("1.234567891011121_f64", 1.234567891011121_f64);
|
||||||
check_float_value("3.141592653589793_f64", 3.141592653589793_f64);
|
|
||||||
check_float_value("1__0.__0__f32", 10.0);
|
check_float_value("1__0.__0__f32", 10.0);
|
||||||
check_int_value("0b__1_0_", 2);
|
check_int_value("0b__1_0_", 2);
|
||||||
check_int_value("1_1_1_1_1_1", 111111);
|
check_int_value("1_1_1_1_1_1", 111111);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user