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

Extend Chalk with support for well-known, builtin traits #363

Open nikomatsakis opened 4 years ago

nikomatsakis commented 4 years ago

This is a meta issue for the work of extending chalk to support the various built-in traits like Sized, Copy, and so forth.

This issue has been assigned to @Areredify via this comment.

basil-cow commented 4 years ago

@rustbot claim

nikomatsakis commented 4 years ago

I would also say that this issue is fairly 'parallelizable', so if others want to pick up some aspects of it, that's not a problem. e.g. I think we could add code for Copy and the like. Maybe it's a good idea to break those out into separate issues and write-up some mentoring instructions?

nikomatsakis commented 4 years ago

Although they may be somewhat blocked on https://github.com/rust-lang/chalk/pull/371 -- having more details of Rust types would be useful.

basil-cow commented 4 years ago

So if someone wants to pick it up, I am done with Copy, Drop and Clone (as far as I understood Clone introduces no hard coded impls and/or wf checks?) modulo #371 of course, but it will be easy to address when it comes to it. Going to pick up Unsize next

basil-cow commented 4 years ago

Im already working on CoerceUnsized

memoryleak47 commented 4 years ago

I'll try Unpin