diff options
Diffstat (limited to 'src/test/ui/lifetimes/lifetime-errors/ex3-both-anon-regions.rs')
-rw-r--r-- | src/test/ui/lifetimes/lifetime-errors/ex3-both-anon-regions.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/lifetimes/lifetime-errors/ex3-both-anon-regions.rs b/src/test/ui/lifetimes/lifetime-errors/ex3-both-anon-regions.rs deleted file mode 100644 index ca0feaba8..000000000 --- a/src/test/ui/lifetimes/lifetime-errors/ex3-both-anon-regions.rs +++ /dev/null @@ -1,6 +0,0 @@ -fn foo(x: &mut Vec<&u8>, y: &u8) { - x.push(y); - //~^ ERROR lifetime may not live long enough -} - -fn main() { } |