]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-unboxed-closures-ufcs-calls.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / feature-gates / feature-gate-unboxed-closures-ufcs-calls.stderr
1 error[E0658]: use of unstable library feature 'fn_traits' (see issue #29625)
2   --> $DIR/feature-gate-unboxed-closures-ufcs-calls.rs:14:5
3    |
4 LL |     Fn::call(&f, ()); //~ ERROR use of unstable library feature 'fn_traits'
5    |     ^^^^^^^^
6    |
7    = help: add #![feature(fn_traits)] to the crate attributes to enable
8
9 error[E0658]: use of unstable library feature 'fn_traits' (see issue #29625)
10   --> $DIR/feature-gate-unboxed-closures-ufcs-calls.rs:15:5
11    |
12 LL |     FnMut::call_mut(&mut f, ()); //~ ERROR use of unstable library feature 'fn_traits'
13    |     ^^^^^^^^^^^^^^^
14    |
15    = help: add #![feature(fn_traits)] to the crate attributes to enable
16
17 error[E0658]: use of unstable library feature 'fn_traits' (see issue #29625)
18   --> $DIR/feature-gate-unboxed-closures-ufcs-calls.rs:16:5
19    |
20 LL |     FnOnce::call_once(f, ()); //~ ERROR use of unstable library feature 'fn_traits'
21    |     ^^^^^^^^^^^^^^^^^
22    |
23    = help: add #![feature(fn_traits)] to the crate attributes to enable
24
25 error: aborting due to 3 previous errors
26
27 For more information about this error, try `rustc --explain E0658`.