Alex

Results 10 issues of Alex

### Summary When using clippy::infinite_loop lint with async function clippy emits not expected warning. ### Lint Name clippy::infinite_loop ### Reproducer I tried this code: ```rust #![warn(clippy::infinite_loop)] async fn foo() ->...

C-bug
I-false-positive

Updated dependencies, added rust-toolchain.toml file with nightly channel described.

Fixed #144

I have tried this code: ```rust #[derive(FromPrimitive)] #[repr(u8)] enum Number { Zero = 0, #[num_enum(alternatives = [2..=3])] OneTwoThree = 1, #[num_enum(catch_all)] Other(u8) } ``` And got following error: ``` error:...

Now when using `#[num_enum(default)]` or `#[num_enum(default)]` with `TryFromPrimitive` it just ignores them. But it's more reasonable to return error because of missing support.

Integrate support for [cargo-script](https://github.com/rust-lang/cargo/issues/12207) to enable users to utilize custom `Cargo.toml` configurations. Currently limited to nightly cargo, propose the addition of a switch to activate this feature when selecting the...

1. Added support for enums that consuming strings they have parsed from. 2. Changed behaviour to derive `From` trait instead of `TryFrom` when default variant is defined(`TryFrom`'ll be defined automatically...

Can `ttl` and `set_ttl` methods for `TcpListener` be implemented to enable getting and setting the TTL value of the underlying socket?