Commit Graph

3 Commits

Author SHA1 Message Date
David Wood
d531a84e51 trait_sel: skip nominal_obligations for Sized
`nominal_obligations` calls `predicates_of` on a `Sized` obligation,
effectively elaborating the trait and making the well-formedness checking
machinery do a bunch of extra work checking a `MetaSized` obligation is
well-formed, but given that both `Sized` and `MetaSized` are built-ins,
if `Sized` is otherwise well-formed, so `MetaSized` will be.
2025-06-16 23:04:36 +00:00
Michael Goulet
c0230f4a29 Flesh out tests 2025-03-13 21:17:46 +00:00
Michael Goulet
aebbd42460 Only prefer Sized candidates, and only if they certainly hold 2025-03-13 21:12:07 +00:00