diff options
Diffstat (limited to 'src/test/ui/borrowck/issue-88434-minimal-example.rs')
-rw-r--r-- | src/test/ui/borrowck/issue-88434-minimal-example.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/borrowck/issue-88434-minimal-example.rs b/src/test/ui/borrowck/issue-88434-minimal-example.rs deleted file mode 100644 index b75abcb73..000000000 --- a/src/test/ui/borrowck/issue-88434-minimal-example.rs +++ /dev/null @@ -1,14 +0,0 @@ -// Regression test related to issue 88434 - -const _CONST: &() = &f(&|_| {}); -//~^ constant - -const fn f<F>(_: &F) -where - F: FnMut(&u8), -{ - panic!() //~ ERROR evaluation of constant value failed - //~^ panic -} - -fn main() { } |