ユーザ用ツール

サイト用ツール


サイドバー

このページの翻訳:



最近の更新



Tag Cloud

50_dialy:2025:04:25

2025.04.25 Zed コンパイルエラー

エラー

   Compiling blade-macros v0.3.0 (https://github.com/kvark/blade?rev=b16f5c7bd873c7126f48c82c39e7ae64602ae74f#b16f5c7b)
error[E0658]: cannot cast `dyn action::Action` to `dyn std::any::Any`, trait upcasting coercion is experimental
  --> crates\gpui\src\action.rs:96:9
   |
96 |         self as &dyn Any
   |         ^^^^
   |
   = note: see issue #65991 <https://github.com/rust-lang/rust/issues/65991> for more information
   = note: required when coercing `&(dyn action::Action + 'static)` into `&(dyn std::any::Any + 'static)`

For more information about this error, try `rustc --explain E0658`.
error: could not compile `gpui` (lib) due to 1 previous error

対応

rustをアップデートしてあげればOK

rustup update
stable-x86_64-pc-windows-msvc updated - rustc 1.86.0 (05f9846f8 2025-03-31) (from rustc 1.85.0 (4d91de4e4 2025-02-17))
  1.85-x86_64-pc-windows-msvc updated - rustc 1.85.1 (4eb161250 2025-03-15) (from rustc 1.85.0 (4d91de4e4 2025-02-17))
50_dialy/2025/04/25.txt · 最終更新: 2025/04/25 17:57 by matsui