2022-05-05 09:12:52 -05:00
|
|
|
error: use of `char::is_digit` with literal radix of 10
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/is_digit_ascii_radix.rs:9:13
|
2022-05-05 09:12:52 -05:00
|
|
|
|
|
|
|
|
LL | let _ = c.is_digit(10);
|
|
|
|
| ^^^^^^^^^^^^^^ help: try: `c.is_ascii_digit()`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::is-digit-ascii-radix` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::is_digit_ascii_radix)]`
|
2022-05-05 09:12:52 -05:00
|
|
|
|
|
|
|
error: use of `char::is_digit` with literal radix of 16
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/is_digit_ascii_radix.rs:10:13
|
2022-05-05 09:12:52 -05:00
|
|
|
|
|
|
|
|
LL | let _ = c.is_digit(16);
|
|
|
|
| ^^^^^^^^^^^^^^ help: try: `c.is_ascii_hexdigit()`
|
|
|
|
|
|
|
|
error: use of `char::is_digit` with literal radix of 16
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/is_digit_ascii_radix.rs:11:13
|
2022-05-05 09:12:52 -05:00
|
|
|
|
|
|
|
|
LL | let _ = c.is_digit(0x10);
|
|
|
|
| ^^^^^^^^^^^^^^^^ help: try: `c.is_ascii_hexdigit()`
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|