diff options
Diffstat (limited to 'src/test/ui/lifetimes/elided-lifetime-in-path-in-impl-Fn.rs')
-rw-r--r-- | src/test/ui/lifetimes/elided-lifetime-in-path-in-impl-Fn.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/ui/lifetimes/elided-lifetime-in-path-in-impl-Fn.rs b/src/test/ui/lifetimes/elided-lifetime-in-path-in-impl-Fn.rs deleted file mode 100644 index 9c9965d8f..000000000 --- a/src/test/ui/lifetimes/elided-lifetime-in-path-in-impl-Fn.rs +++ /dev/null @@ -1,19 +0,0 @@ -// check-pass - -struct Foo<'a>(&'a ()); - -fn with_fn() -> fn(Foo) { - |_| () -} - -fn with_impl_fn() -> impl Fn(Foo) { - |_| () -} - -fn with_where_fn<T>() -where - T: Fn(Foo), -{ -} - -fn main() {} |