]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #89341 - audunhalland:derive-type-params-with-bound-generic-params...
authorbors <bors@rust-lang.org>
Sat, 2 Oct 2021 18:46:27 +0000 (18:46 +0000)
committerbors <bors@rust-lang.org>
Sat, 2 Oct 2021 18:46:27 +0000 (18:46 +0000)
commitf03eb6bef8ced8a243858b819e013b9caf83d757
tree3d7a5598b782533000f0c026859f6a987a3d9041
parentd14731cb3ced8318d7fc83cbe838f0e7f2fb3b40
parent87241e909933b30bb31af4edf58d1a331589df3c
Auto merge of #89341 - audunhalland:derive-type-params-with-bound-generic-params, r=jackh726

Deriving: Include bound generic params in type parameters for where clause

Fixes #89188.

The `derive` macro ignored the `for<'s>` needed with the `Fn` trait in that code example.

edit: I'm unsure if this might cause regressions. I'm not an experienced compiler developer so I'm not used to thinking about unwanted side effects code changes like this might have.