提交 66495222 编写于 作者: D David Renshaw

closure_to_fn_coercion has been stabilized

上级 c384f956
#![feature(closure_to_fn_coercion)]
// allow(const_err) to work around a bug in warnings
#[allow(const_err)]
static FOO: fn() = || { assert_ne!(42, 43) };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册