Closed
Description
UEFI crate version: 0.9.0
Rust compiler metadata: rustc --version --verbose
rustc 1.54.0-nightly (4e3e6db01 2021-05-18)
binary: rustc
commit-hash: 4e3e6db011c5b482d2bef8ba02274657f93b5e0d
commit-date: 2021-05-18
host: x86_64-pc-windows-msvc
release: 1.54.0-nightly
LLVM version: 12.0.1
Errors:
error[E0437]: type `Ok` is not a member of trait `ops::Try`
--> <path redacted>\uefi-0.9.0\src\result\status.rs:175:5
175 | type Ok = Completion<()>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `ops::Try`
error[E0437]: type `Error` is not a member of trait `ops::Try`
--> <path redacted>\uefi-0.9.0\src\result\status.rs:176:5
|
176 | type Error = Error<()>;
| ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `ops::Try`
error[E0407]: method `into_result` is not a member of trait `ops::Try`
--> <path redacted>\uefi-0.9.0\src\result\status.rs:178:5
|
178 | / fn into_result(self) -> Result<(), ()> {
179 | | self.into()
180 | | }
| |_____^ not a member of trait `ops::Try`
error[E0407]: method `from_error` is not a member of trait `ops::Try`
--> <path redacted>\uefi-0.9.0\src\result\status.rs:182:5
|
182 | / fn from_error(error: Self::Error) -> Self {
183 | | error.status()
184 | | }
| |_____^ not a member of trait `ops::Try`
error[E0407]: method `from_ok` is not a member of trait `ops::Try`
--> <path redacted>\uefi-0.9.0\src\result\status.rs:186:5
|
186 | / fn from_ok(ok: Self::Ok) -> Self {
187 | | ok.status()
188 | | }
| |_____^ not a member of trait `ops::Try`
error[E0658]: use of unstable library feature 'try_trait_v2'
--> <path redacted>\uefi-0.9.0\src\result\status.rs:174:6
|
174 | impl ops::Try for Status {
| ^^^^^^^^
|
= note: see issue #84277 <https://github.com/rust-lang/rust/issues/84277> for more information
= help: add `#![feature(try_trait_v2)]` to the crate attributes to enable
error[E0220]: associated type `Error` not found for `Self`
--> <path redacted>\uefi-0.9.0\src\result\status.rs:182:32
|
182 | fn from_error(error: Self::Error) -> Self {
| ^^^^^ associated type `Error` not found
error[E0220]: associated type `Ok` not found for `Self`
--> <path redacted>\uefi-0.9.0\src\result\status.rs:186:26
|
186 | fn from_ok(ok: Self::Ok) -> Self {
| ^^ associated type `Ok` not found
error: aborting due to 8 previous errors
Metadata
Metadata
Assignees
Labels
No labels