Feature gate
This commit is contained in:
parent
1b9b322883
commit
f753a6ef02
3 changed files with 17 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
// ignore-stage0: new feature, remove this when SNAP
|
||||
|
||||
// #![feature(closure_to_fn_coercion)]
|
||||
#![feature(closure_to_fn_coercion)]
|
||||
|
||||
const FOO :fn(u8) -> u8 = |v: u8| { v };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue