]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/feature-gate-unboxed-closures-method-calls.stderr
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-unboxed-closures-method-calls.stderr
CommitLineData
48663c56 1error[E0658]: use of unstable library feature 'fn_traits'
0731742a 2 --> $DIR/feature-gate-unboxed-closures-method-calls.rs:4:7
ff7c6d11 3 |
532ac7d7 4LL | f.call(());
ff7c6d11
XL
5 | ^^^^
6 |
48663c56 7 = note: for more information, see https://github.com/rust-lang/rust/issues/29625
416331ca 8 = help: add `#![feature(fn_traits)]` to the crate attributes to enable
ff7c6d11 9
48663c56 10error[E0658]: use of unstable library feature 'fn_traits'
0731742a 11 --> $DIR/feature-gate-unboxed-closures-method-calls.rs:5:7
ff7c6d11 12 |
532ac7d7 13LL | f.call_mut(());
ff7c6d11
XL
14 | ^^^^^^^^
15 |
48663c56 16 = note: for more information, see https://github.com/rust-lang/rust/issues/29625
416331ca 17 = help: add `#![feature(fn_traits)]` to the crate attributes to enable
ff7c6d11 18
48663c56 19error[E0658]: use of unstable library feature 'fn_traits'
0731742a 20 --> $DIR/feature-gate-unboxed-closures-method-calls.rs:6:7
ff7c6d11 21 |
532ac7d7 22LL | f.call_once(());
ff7c6d11
XL
23 | ^^^^^^^^^
24 |
48663c56 25 = note: for more information, see https://github.com/rust-lang/rust/issues/29625
416331ca 26 = help: add `#![feature(fn_traits)]` to the crate attributes to enable
ff7c6d11
XL
27
28error: aborting due to 3 previous errors
29
0531ce1d 30For more information about this error, try `rustc --explain E0658`.