rust/src/librustc/middle/traits
Alex Crichton 88b4c8e0d3 rollup merge of #20465: nikomatsakis/assoc-types-regions-20303
Treat associated types the same as type parameters when it comes to region bounding. Fixes #20303.

Strictly speaking, this is a [breaking-change] (if you are using
associated types). You are no longer free to wantonly violate the type
system rules by closing associated types into objects without any form
of region bound. Instead you should add region bounds like `T::X :
'a`, just as you would with a normal type parameter.

r? @aturon
2015-01-05 18:36:34 -08:00
..
coherence.rs remove ty_closure 2015-01-05 17:22:15 -05:00
doc.rs
error_reporting.rs
fulfill.rs [breaking change] Update entry API as part of RFC 509. 2015-01-04 15:55:54 -05:00
mod.rs sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs 2015-01-03 22:54:18 -05:00
object_safety.rs sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs 2015-01-03 22:54:18 -05:00
project.rs Don't ICE just because an impl is missing an associated type. Trust in the other compiler passes. 2015-01-05 11:31:37 -05:00
select.rs remove ty_closure 2015-01-05 17:22:15 -05:00
util.rs