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

28 lines
1.1 KiB
Plaintext

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