rust/src/test/ui/feature-gate-unboxed-closures-method-calls.stderr
Guillaume Gomez 2e104a77cf update tests
2018-03-14 00:53:24 +01:00

28 lines
1.0 KiB
Plaintext

error[E0658]: use of unstable library feature 'fn_traits' (see issue #29625)
--> $DIR/feature-gate-unboxed-closures-method-calls.rs:14:7
|
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
|
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
|
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
For more information about this error, try `rustc --explain E0658`.