summaryrefslogtreecommitdiffstats
path: root/tests/ui/static/static-lifetime-bound.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/static/static-lifetime-bound.rs')
-rw-r--r--tests/ui/static/static-lifetime-bound.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/static/static-lifetime-bound.rs b/tests/ui/static/static-lifetime-bound.rs
index b5da91ec3..847fe87b2 100644
--- a/tests/ui/static/static-lifetime-bound.rs
+++ b/tests/ui/static/static-lifetime-bound.rs
@@ -1,4 +1,4 @@
-fn f<'a: 'static>(_: &'a i32) {} //~WARN unnecessary lifetime parameter `'a`
+fn f<'a: 'static>(_: &'a i32) {}
fn main() {
let x = 0;