- 我尝试“https://substrate.dev/substrate-contracts-workshop/#/”
- 我按照教程创建了一个 Rust 环境。
- 我执行了“货物+夜间测试”
- 我得到以下错误。
error[E0658]: function pointers cannot appear in constant functions
--> /Users/shin.takahashi/.cargo/git/checkouts/ink-1add513eda8f5a89/cca3154/lang/src/dispatcher.rs:186:30
|
186 | pub const fn new(dispatchable: $dispatchable_fn<Msg, S>) -> Self {
| ^^^^^^^^^^^^
...
237 | / impl_dispatcher_for! {
238 | | /// Dispatcher for storage preserving messages.
239 | | struct Dispatcher(DispatchableFn);
240 | | }
| |_- in this macro invocation
|
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
= help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
请告诉我有什么问题???