]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closure-feature-gate.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[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 (see issue #29625)
2   --> $DIR/unboxed-closure-feature-gate.rs:23:16
3    |
4 LL |     let x: Box<Foo(isize)>;
5    |                ^^^^^^^^^^
6    |
7    = help: add #![feature(unboxed_closures)] to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0658`.