-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
Not sure if I should report this here or in the main Rust repo, please let me know how to go about this stuff in the future.
Upgraded from 2024-02-18, project immediately failed to compile.
error[E0308]: mismatched types
--> /home/patat-mini/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:520:29
|
520 | Ok(SystemTime::from(self.stat.st_mtim))
| ---------------- ^^^^^^^^^^^^^^^^^ expected `SystemTime`, found `timespec`
| |
| arguments to this function are incorrect
|
note: associated function defined here
--> /home/patat-mini/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:585:8
|
585 | fn from(value: T) -> Self;
| ^^^^
error[E0308]: mismatched types
--> /home/patat-mini/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs:548:29
|
548 | Ok(SystemTime::from(self.stat.st_atim))
| ---------------- ^^^^^^^^^^^^^^^^^ expected `SystemTime`, found `timespec`
| |
| arguments to this function are incorrect
|
note: associated function defined here
--> /home/patat-mini/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:585:8
|
585 | fn from(value: T) -> Self;
| ^^^^Metadata
Metadata
Assignees
Labels
No labels