diff options
Diffstat (limited to 'src/test/ui/regions/regions-link-fn-args.rs')
-rw-r--r-- | src/test/ui/regions/regions-link-fn-args.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/regions/regions-link-fn-args.rs b/src/test/ui/regions/regions-link-fn-args.rs deleted file mode 100644 index 231407b22..000000000 --- a/src/test/ui/regions/regions-link-fn-args.rs +++ /dev/null @@ -1,15 +0,0 @@ -// run-pass -// Test that region inference correctly links up the regions when a -// `ref` borrow occurs inside a fn argument. - -// pretty-expanded FIXME #23616 - -#![allow(dead_code)] - -fn with<'a, F>(_: F) where F: FnOnce(&'a Vec<isize>) -> &'a Vec<isize> { } - -fn foo() { - with(|&ref ints| ints); -} - -fn main() { } |