rust/compiler/rustc_trait_selection
Dylan DPC 90035f130e
Rollup merge of #105839 - LegionMammal978:mut-upvar-not-send, r=lcnr
Suggest a `T: Send` bound for `&mut T` upvars in `Send` generators

Right now, we suggest a `T: Sync` bound for both `&T` and `&mut T` upvars. A user on URLO [found this confusing](https://users.rust-lang.org/t/error-complains-about-missing-sync-but-send-is-whats-missing/86021), so I wrote this quick fix to look at the mutability before making the suggestion.
2022-12-19 14:41:35 +05:30
..
src Rollup merge of #105839 - LegionMammal978:mut-upvar-not-send, r=lcnr 2022-12-19 14:41:35 +05:30
Cargo.toml Remove from compiler/ crates 2022-09-29 16:49:04 +09:00