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 parameter for `Interner` in `derive(FallibleTypeFolder)` macro #779

Closed lowr closed 2 years ago

lowr commented 2 years ago

In custom derive macro for FallibleTypeFolder introduced in #772, there's one occurrence of raw type parameter that is not guaranteed to exist. This patch replaces it with #interner to be interpolated at proc macro runtime like in other methods.

jackh726 commented 2 years ago

@bors r+

bors commented 2 years ago

:pushpin: Commit f29926542ed4e12f7f00967543f90120c6e6748b has been approved by jackh726

It is now in the queue for this repository.

bors commented 2 years ago

:hourglass: Testing commit f29926542ed4e12f7f00967543f90120c6e6748b with merge 8138a990a10bb36428c098892a1083697bd106ff...

bors commented 2 years ago

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