about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-05 18:36:34 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-05 18:36:34 -0800
commit88b4c8e0d347921673e61bf1770ba0acd4c7d824 (patch)
tree2449fa32baf1d70eb9a025d1ab2e6bddae36a7a2 /src/rustllvm/RustWrapper.cpp
parent059566b01960f3f630316cc50989e8c57e5e696e (diff)
parent5caf847b3f16ca08ad1203614455b20aa07f4f0c (diff)
downloadrust-88b4c8e0d347921673e61bf1770ba0acd4c7d824.tar.gz
rust-88b4c8e0d347921673e61bf1770ba0acd4c7d824.zip
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions