Feature gate

This commit is contained in:
est31 2017-02-23 21:35:12 +01:00
parent 1b9b322883
commit f753a6ef02
3 changed files with 17 additions and 1 deletions

View file

@ -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 };