rust-lang / chalk

An implementation and definition of the Rust trait system using a PROLOG-like logic solver
https://rust-lang.github.io/chalk/book/
Other
1.85k stars 182 forks source link

fix: consider ADT's generic parameters #781

Closed lowr closed 2 years ago

lowr commented 2 years ago

Fixes #762

chalk-integration has been overlooking ADTs' generic parameters when it generates auto trait impls for them. This function is only used to print the lowered program in cli so it doesn't affect other crates.

jackh726 commented 2 years ago

@bors r+

bors commented 2 years ago

:pushpin: Commit 64632c0e6b9f3b6514daf52d26b99a6e4f374177 has been approved by jackh726

It is now in the queue for this repository.

bors commented 2 years ago

:hourglass: Testing commit 64632c0e6b9f3b6514daf52d26b99a6e4f374177 with merge cadaba9881d78c9814d966e595cc978e64a8b76e...

bors commented 2 years ago

:sunny: Test successful - checks-actions Approved by: jackh726 Pushing cadaba9881d78c9814d966e595cc978e64a8b76e to master...