2019-04-10 16:40:12 -07:00
|
|
|
error[E0658]: parenthetical notation is only stable when used with `Fn`-family traits
|
2019-05-28 14:46:13 -04:00
|
|
|
--> $DIR/unboxed-closure-feature-gate.rs:13:20
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-05-28 14:46:13 -04:00
|
|
|
LL | let x: Box<dyn Foo(isize)>;
|
2020-04-17 12:26:32 -07:00
|
|
|
| ^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2020-02-07 13:07:02 +01:00
|
|
|
= note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
|
2019-07-09 11:32:08 +02:00
|
|
|
= help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|