about summary refs log tree commit diff
path: root/tests/ui/borrowck/generic_const_early_param.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/borrowck/generic_const_early_param.rs')
-rw-r--r--tests/ui/borrowck/generic_const_early_param.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/borrowck/generic_const_early_param.rs b/tests/ui/borrowck/generic_const_early_param.rs
index f601e45d21f..0d07b6869f1 100644
--- a/tests/ui/borrowck/generic_const_early_param.rs
+++ b/tests/ui/borrowck/generic_const_early_param.rs
@@ -5,7 +5,6 @@ struct DataWrapper<'static> {
     //~^ ERROR invalid lifetime parameter name: `'static`
     data: &'a [u8; Self::SIZE],
     //~^ ERROR use of undeclared lifetime name `'a`
-    //~^^ ERROR lifetime may not live long enough
 }
 
 impl DataWrapper<'a> {