From bf529fb6e6c561e8adf7556dd52b542c8498b3c8 Mon Sep 17 00:00:00 2001 From: Without Boats Date: Sun, 21 May 2017 23:10:01 -0700 Subject: [PATCH] Remove 'static bound in assoc const test. Types do not have to be `'static` to be referenced in associated consts. --- src/test/run-pass/associated-const-outer-ty-refs.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/run-pass/associated-const-outer-ty-refs.rs b/src/test/run-pass/associated-const-outer-ty-refs.rs index a603b225132d4..2e6fb11a12d6b 100644 --- a/src/test/run-pass/associated-const-outer-ty-refs.rs +++ b/src/test/run-pass/associated-const-outer-ty-refs.rs @@ -13,8 +13,7 @@ trait Lattice { const BOTTOM: Self; } -// FIXME(#33573): this should work without the 'static lifetime bound. -impl Lattice for Option { +impl Lattice for Option { const BOTTOM: Option = None; }