rust-lang / a-mir-formality

a model of MIR and the Rust type/trait system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Well-formedness rules for fn-def types

nikomatsakis opened this issue · comments

We need tests that fn-def types are well-formed (and maybe code?). To be well-formed, the where-clauses on the fn must be met. (That said, in the MIR type checker, I am currently adding in implications that will basically always make this true.)