about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-01-03 04:40:33 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-01-05 10:14:35 -0500
commitc8868942e845254abfd3623a709847d65e015a2f (patch)
treee02fd8a094bd337c8544a3203e5c2754163420d3 /src/rustllvm/RustWrapper.cpp
parent8e83af6e879535c33fd83d247d16619e39e0b951 (diff)
downloadrust-c8868942e845254abfd3623a709847d65e015a2f.tar.gz
rust-c8868942e845254abfd3623a709847d65e015a2f.zip
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions