]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closure-feature-gate.stderr
Sync rust-lang/portable-simd@5f49d4c8435a25d804b2f375e949cb25479f5be9
[rust.git] / src / test / ui / unboxed-closures / unboxed-closure-feature-gate.stderr
1 error[E0658]: parenthetical notation is only stable when used with `Fn`-family traits
2   --> $DIR/unboxed-closure-feature-gate.rs:13:20
3    |
4 LL |     let x: Box<dyn Foo(isize)>;
5    |                    ^^^^^^^^^^
6    |
7    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
8    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0658`.