diff options
Diffstat (limited to 'src/test/ui/nll/user-annotations/issue-54124.rs')
-rw-r--r-- | src/test/ui/nll/user-annotations/issue-54124.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/nll/user-annotations/issue-54124.rs b/src/test/ui/nll/user-annotations/issue-54124.rs deleted file mode 100644 index 5ae03c894..000000000 --- a/src/test/ui/nll/user-annotations/issue-54124.rs +++ /dev/null @@ -1,8 +0,0 @@ -fn test<'a>() { - let _:fn(&()) = |_:&'a ()| {}; //~ ERROR lifetime may not live long enough - //~^ ERROR lifetime may not live long enough -} - -fn main() { - test(); -} |