Auto merge of #42147 - withoutboats:run-pass-test-for-static-in-assoc-const-ty-refs, r=eddyb

Remove 'static bound in assoc const test.

Types do not have to be `'static` to be referenced in
associated consts.

Fixes #33573.
This commit is contained in:
bors
2017-05-22 06:22:52 +00:00
@@ -13,8 +13,7 @@ trait Lattice {
const BOTTOM: Self;
}
// FIXME(#33573): this should work without the 'static lifetime bound.
impl<T: 'static> Lattice for Option<T> {
impl<T> Lattice for Option<T> {
const BOTTOM: Option<T> = None;
}