News for hackers. Stuff that matters.
Re:Weird Expressions in Rust by nine_k on Saturday June 28, 2025 @01:18PM (#44406381)
This makes sense because the `match` returns a union of u32 and `never`.

Assigning values of expressions that are purely `never`, or having values that are purely `never` or `()` as the condition in a conditional operator, should be marked as an error, like unreachable code.

There are no comments on this comment yet.