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

28 lines
1.0 KiB
Plaintext
Raw Normal View History

error[E0658]: use of unstable library feature 'fn_traits' (see issue #29625)
--> $DIR/feature-gate-unboxed-closures-method-calls.rs:14:7
|
2018-02-22 18:42:32 -06:00
LL | f.call(()); //~ 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-method-calls.rs:15:7
|
2018-02-22 18:42:32 -06:00
LL | f.call_mut(()); //~ 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-method-calls.rs:16:7
|
2018-02-22 18:42:32 -06:00
LL | f.call_once(()); //~ 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-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0658`.