rust/compiler/rustc_typeck
Taylor Yu df03b083c9 move implicit Sized predicate to end of list
In `Bounds::predicates()`, move the implicit `Sized` predicate to the
end of the generated list. This means that if there is an explicit
`Sized` bound, it will be checked first, and any resulting
diagnostics will have a more useful span.
2021-10-07 20:24:56 -05:00
..
2021-09-20 22:21:42 -04:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.