rust-lang / trait-system-refactor-initiative

The Rustc Trait System Refactor Initiative
22 stars 0 forks source link

[META] opaque type handling #130

Open lcnr opened 1 month ago

lcnr commented 1 month ago

Opaque types are have some non-trivial backcompat requirements and generally require a lot of care to support correctly.

misc

problematic may-define outside of typeck

normalizing opaque types allows more code to compile

treating opaque as rigid during typeck