rust/tests/ui/unboxed-closures/unboxed-closure-feature-gate.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
599 B
Plaintext
Raw Normal View History

2019-04-10 23:40:12 +00:00
error[E0658]: parenthetical notation is only stable when used with `Fn`-family traits
2019-05-28 18:46:13 +00:00
--> $DIR/unboxed-closure-feature-gate.rs:13:20
2018-08-08 12:28:26 +00:00
|
2019-05-28 18:46:13 +00:00
LL | let x: Box<dyn Foo(isize)>;
2020-04-17 19:26:32 +00:00
| ^^^^^^^^^^
2018-08-08 12:28:26 +00:00
|
2020-02-07 12:07:02 +00:00
= note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
= help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
2024-01-10 06:39:02 +00:00
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2018-08-08 12:28:26 +00:00
error: aborting due to 1 previous error
2018-08-08 12:28:26 +00:00
For more information about this error, try `rustc --explain E0658`.