]> git.lizzy.rs Git - rust.git/commit
rework region flags: 'static can be erased too
authorNiko Matsakis <niko@alum.mit.edu>
Mon, 4 Dec 2017 10:11:36 +0000 (05:11 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Fri, 15 Dec 2017 15:27:50 +0000 (10:27 -0500)
commit154cd9419763f35c0f38b1cb044f43eeece1ebf0
treef7f3687c3e04fd68070d0e83facd9c3a8b88fd27
parent02e65250e4dfb22d5e1bc1e637913cbcfc60db13
rework region flags: 'static can be erased too

The existing flags did not consider `'static` to be "free". This then
fed into what was "erasable" -- but `'static` is most certainly
erasable.
src/librustc/ty/fold.rs
src/librustc/ty/mod.rs
src/librustc/ty/sty.rs