mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Auto merge of #13863 - danieleades:approx-constant, r=Veykril
minor: suppress 'clippy::approx_constant' lint in test case suppresses a false positive clippy lint
This commit is contained in:
commit
ba204ef07b
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ bcde", b"abcde",
|
|||
|
||||
#[test]
|
||||
fn test_value_underscores() {
|
||||
check_float_value("3.141592653589793_f64", 3.141592653589793_f64);
|
||||
check_float_value("1.234567891011121_f64", 1.234567891011121_f64);
|
||||
check_float_value("1__0.__0__f32", 10.0);
|
||||
check_int_value("0b__1_0_", 2);
|
||||
check_int_value("1_1_1_1_1_1", 111111);
|
||||
|
|
Loading…
Reference in a new issue