Upgrade Rust to 1.75
This commit is contained in:
Родитель
7b32ce2b4b
Коммит
b9adb61a23
|
@ -9,3 +9,7 @@ error[E0308]: mismatched types
|
|||
= note: expected struct `String`
|
||||
found enum `Result<String, ExternalError>`
|
||||
= note: this error originates in the attribute macro `handle_error` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
help: consider using `Result::expect` to unwrap the `Result<String, ExternalError>` value, panicking if the value is a `Result::Err`
|
||||
|
|
||||
39 | #[handle_error(Error)].expect("REASON")
|
||||
| +++++++++++++++++
|
||||
|
|
|
@ -9,3 +9,7 @@ error[E0308]: mismatched types
|
|||
= note: expected enum `std::result::Result<String, ExternalError>`
|
||||
found enum `std::result::Result<_, OtherExternalError>`
|
||||
= note: this error originates in the attribute macro `handle_error` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
help: use the `?` operator to extract the `std::result::Result<_, OtherExternalError>` value, propagating a `Result::Err` value to the caller
|
||||
|
|
||||
50 | #[handle_error(Error)]?
|
||||
| +
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# supported and used in CI.
|
||||
|
||||
[toolchain]
|
||||
channel = "1.74.0"
|
||||
channel = "1.75.0"
|
||||
targets = [
|
||||
"aarch64-linux-android",
|
||||
"armv7-linux-androideabi",
|
||||
|
|
Загрузка…
Ссылка в новой задаче