[Bug 274499] lang/rust: Update to 1.73.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Oct 2023 14:32:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274499
Piotr Kubaj <pkubaj@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pkubaj@FreeBSD.org
--- Comment #4 from Piotr Kubaj <pkubaj@FreeBSD.org> ---
https://github.com/rust-lang/rust/issues/116845
Seems ok on powerpc64 and powerpc64le, but on powerpc:
error[E0004]: non-exhaustive patterns: `ControlFlow::Continue(_)` not covered
--> library/core/src/iter/traits/iterator.rs:3022:32
|
3022 | move |(), x| match f(&x).branch() {
| ^^^^^^^^^^^^^^ pattern
`ControlFlow::Continue(_)` not covered
|
note: `ControlFlow<R, bool>` defined here
--> library/core/src/ops/control_flow.rs:89:5
|
85 | pub enum ControlFlow<B, C = ()> {
| -----------
...
89 | Continue(C),
| ^^^^^^^^ not covered
= note: the matched value is of type `ControlFlow<R, bool>`
help: ensure that all possible cases are being handled by adding a match arm
with a wildcard pattern or an explicit pattern as shown
|
3025 ~ ControlFlow::Break(r) =>
ControlFlow::Break(FromResidual::from_residual(r)),
3026 ~ ControlFlow::Continue(_) => todo!(),
|
--
You are receiving this mail because:
You are on the CC list for the bug.