Compiling gpui v0.1.0 (https://github.com/zed-industries/zed#fc241024)
error[E0658]: let expressions in this position are unstable
--> D:\Develop\rust\cargo_home\git\checkouts\zed-a70e2ad075855582\fc24102\crates\gpui\src\platform\windows\events.rs:1073:12
|
1073 | && let Some(last_pressed) = last_pressed
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #53667 rust-lang/rust#53667 for more information
error[E0658]: cannot cast dyn action::Action to dyn std::any::Any, trait upcasting coercion is experimental
--> D:\Develop\rust\cargo_home\git\checkouts\zed-a70e2ad075855582\fc24102\crates\gpui\src\action.rs:175:9
|
175 | self as &dyn Any
| ^^^^
|
= note: see issue #65991 rust-lang/rust#65991 for more information
= note: required when coercing &(dyn action::Action + 'static) into &(dyn std::any::Any + 'static)
error[E0599]: no method named offset_from_unsigned found for raw pointer *mut u8 in the current scope
--> D:\Develop\rust\cargo_home\git\checkouts\zed-a70e2ad075855582\fc24102\crates\gpui\src\arena.rs:32:39
|
32 | let chunk_size = self.end.offset_from_unsigned(self.start);
| ^^^^^^^^^^^^^^^^^^^^
|
help: there is a method offset_from with a similar name
|
32 | let chunk_size = self.end.offset_from(self.start);
| ~~~~~~~~~~~
Some errors have detailed explanations: E0599, E0658.
For more information about an error, try rustc --explain E0599.
error: could not compile gpui (lib) due to 3 previous errors
system: windows 10 64bit
cargo: cargo 1.85.0 (d73d2caf9 2024-12-31)

Compiling gpui v0.1.0 (https://github.com/zed-industries/zed#fc241024)
error[E0658]:
letexpressions in this position are unstable--> D:\Develop\rust\cargo_home\git\checkouts\zed-a70e2ad075855582\fc24102\crates\gpui\src\platform\windows\events.rs:1073:12
|
1073 | && let Some(last_pressed) = last_pressed
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #53667 rust-lang/rust#53667 for more information
error[E0658]: cannot cast
dyn action::Actiontodyn std::any::Any, trait upcasting coercion is experimental--> D:\Develop\rust\cargo_home\git\checkouts\zed-a70e2ad075855582\fc24102\crates\gpui\src\action.rs:175:9
|
175 | self as &dyn Any
| ^^^^
|
= note: see issue #65991 rust-lang/rust#65991 for more information
= note: required when coercing
&(dyn action::Action + 'static)into&(dyn std::any::Any + 'static)error[E0599]: no method named
offset_from_unsignedfound for raw pointer*mut u8in the current scope--> D:\Develop\rust\cargo_home\git\checkouts\zed-a70e2ad075855582\fc24102\crates\gpui\src\arena.rs:32:39
|
32 | let chunk_size = self.end.offset_from_unsigned(self.start);
| ^^^^^^^^^^^^^^^^^^^^
|
help: there is a method
offset_fromwith a similar name|
32 | let chunk_size = self.end.offset_from(self.start);
| ~~~~~~~~~~~
Some errors have detailed explanations: E0599, E0658.
For more information about an error, try
rustc --explain E0599.error: could not compile
gpui(lib) due to 3 previous errorssystem: windows 10 64bit
cargo: cargo 1.85.0 (d73d2caf9 2024-12-31)