summaryrefslogtreecommitdiffstats
path: root/tests/ui/generic-associated-types/unsatisfied-item-lifetime-bound.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/generic-associated-types/unsatisfied-item-lifetime-bound.rs (renamed from tests/ui/generic-associated-types/unsatified-item-lifetime-bound.rs)2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/generic-associated-types/unsatified-item-lifetime-bound.rs b/tests/ui/generic-associated-types/unsatisfied-item-lifetime-bound.rs
index 1cc09aa6d..060ee8821 100644
--- a/tests/ui/generic-associated-types/unsatified-item-lifetime-bound.rs
+++ b/tests/ui/generic-associated-types/unsatisfied-item-lifetime-bound.rs
@@ -1,3 +1,5 @@
+#![warn(unused_lifetimes)]
+
pub trait X {
type Y<'a: 'static>;
//~^ WARNING unnecessary lifetime parameter