]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-unboxed-closures-method-calls.stderr
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / feature-gate-unboxed-closures-method-calls.stderr
1 error[E0658]: use of unstable library feature 'fn_traits'
2   --> $DIR/feature-gate-unboxed-closures-method-calls.rs:4:7
3    |
4 LL |     f.call(());
5    |       ^^^^
6    |
7    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
8    = help: add `#![feature(fn_traits)]` to the crate attributes to enable
9
10 error[E0658]: use of unstable library feature 'fn_traits'
11   --> $DIR/feature-gate-unboxed-closures-method-calls.rs:5:7
12    |
13 LL |     f.call_mut(());
14    |       ^^^^^^^^
15    |
16    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
17    = help: add `#![feature(fn_traits)]` to the crate attributes to enable
18
19 error[E0658]: use of unstable library feature 'fn_traits'
20   --> $DIR/feature-gate-unboxed-closures-method-calls.rs:6:7
21    |
22 LL |     f.call_once(());
23    |       ^^^^^^^^^
24    |
25    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
26    = help: add `#![feature(fn_traits)]` to the crate attributes to enable
27
28 error: aborting due to 3 previous errors
29
30 For more information about this error, try `rustc --explain E0658`.