rust/src/librustc_typeck
bors 740668dbd9 Auto merge of #57428 - alexreg:associated_type_bounds, r=nikomatsakis,Centril
Implementation of RFC 2289 (associated_type_bounds)

This PR implements the [`asociated_type_bounds` feature](https://github.com/rust-lang/rfcs/blob/master/text/2289-associated-type-bounds.md).

Associated type bounds are implemented in:
   - function/method arguments and return types
   - structs, enums, unions
   - associated items in traits
   - type aliases
   - type parameter defaults
   - trait objects
   - let bindings

CC @nikomatsakis @centril
2019-06-06 03:56:22 +00:00
..
2019-05-23 18:51:42 +02:00
2019-06-05 21:09:27 +01:00
2019-05-26 17:49:02 +08:00

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