-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[arc_with_non_send_sync
]: don't lint if type has nested type parameters
#11077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
I agree that this fix needs to go into 1.72.0. I am testing the 1.72 beta for the Android Rust toolchain, and we have some code that uses The Tokio docs even specifically mention |
I have confirmed that this patch eliminates the compile error I was getting. I also tried updating tokio to the latest version (without the patch), and stlll got the compile error. |
…k-Simulacrum [beta] Clippy backports for ICE fixes This backports PRs to beta, that fix ICEs, some lint grouping and FP fixes. Namely: - rust-lang/rust-clippy#11191 - rust-lang/rust-clippy#11172 - rust-lang/rust-clippy#11130 - rust-lang/rust-clippy#11106 - rust-lang/rust-clippy#11104 - rust-lang/rust-clippy#11077 - rust-lang/rust-clippy#11070 (This PR is not synced to the Rust repo yet, but I will open a separate PR to get it into `master`, before beta is branched: rust-lang#114938) - rust-lang/rust-clippy#11069 Kind of a big backport, but most of it is tests. r? `@Mark-Simulacrum` cc `@Manishearth`
Fixes #11076
changelog: [
arc_with_non_send_sync
]: don't lint if type has nested type parametersr? @Manishearth