]> git.lizzy.rs Git - rust.git/commit
Fix `impl_trait` function to emit correct ast
authorTheDoctor314 <64731940+TheDoctor314@users.noreply.github.com>
Thu, 11 Nov 2021 08:46:59 +0000 (14:16 +0530)
committerTheDoctor314 <64731940+TheDoctor314@users.noreply.github.com>
Thu, 11 Nov 2021 08:46:59 +0000 (14:16 +0530)
commit55a4813151a8f36dcdb520c45a461fe5dfbed499
treefea8500d8d163cb32e7f10688d246e8a05dde099
parente0e8d877c0f4908e877b8ad7ea82acc8cf90be9b
Fix `impl_trait` function to emit correct ast

`impl_trait` code copied from `generate_impl_text_inner` to properly
handle the bounds for the generic parameters.
crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs
crates/syntax/src/ast/make.rs