Skip to content

Commit

Permalink
Add 81899
Browse files Browse the repository at this point in the history
  • Loading branch information
fanninpm committed Feb 11, 2021
1 parent 6fc5bae commit 5c8a4b9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ices/81899.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const _CONST: &[u8] = &f(&[], |_| {});

const fn f<F>(_: &[u8], _: F) -> &[u8]
where
F: FnMut(&u8),
{
panic!()
}

fn main() {}

0 comments on commit 5c8a4b9

Please sign in to comment.