rust/src/test/ui/feature-gate-unboxed-closures-ufcs-calls.stderr

28 lines
1.1 KiB
Plaintext
Raw Normal View History

error[E0658]: use of unstable library feature 'fn_traits' (see issue #29625)
--> $DIR/feature-gate-unboxed-closures-ufcs-calls.rs:14:5
|
2018-02-22 18:42:32 -06:00
LL | 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
|
2018-02-22 18:42:32 -06:00
LL | 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
|
2018-02-22 18:42:32 -06:00
LL | 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
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0658"