27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
error[E0658]: use of unstable library feature 'fn_traits' (see issue #29625)
|
|
--> $DIR/feature-gate-unboxed-closures-ufcs-calls.rs:14:5
|
|
|
|
|
14 | Fn::call(&f, ()); //~ ERROR use of unstable library feature 'fn_traits'
|
|
| ^^^^^^^^
|
|
|
|
|
= help: add #![feature(fn_traits)] to the crate attributes to enable
|
|
|
|
error[E0658]: use of unstable library feature 'fn_traits' (see issue #29625)
|
|
--> $DIR/feature-gate-unboxed-closures-ufcs-calls.rs:15:5
|
|
|
|
|
15 | FnMut::call_mut(&mut f, ()); //~ ERROR use of unstable library feature 'fn_traits'
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
= help: add #![feature(fn_traits)] to the crate attributes to enable
|
|
|
|
error[E0658]: use of unstable library feature 'fn_traits' (see issue #29625)
|
|
--> $DIR/feature-gate-unboxed-closures-ufcs-calls.rs:16:5
|
|
|
|
|
16 | FnOnce::call_once(f, ()); //~ ERROR use of unstable library feature 'fn_traits'
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: add #![feature(fn_traits)] to the crate attributes to enable
|
|
|
|
error: aborting due to 3 previous errors
|
|
|