You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Comparing a typed tuple with a tuple literal fails MIR validation: literal elements stay i32 #1996
DEBUG cmp fail: lhs_ty=... lhs_kind=10 rhs_ty=... rhs_kind=10
error: invalid MIR before codegen: comparison operands have incompatible MIR types
The literal (1, 2) is typed (i32, i32) instead of taking the expected type from the other operand, as an integer literal does in x == 1. Expected: true. (Also: a DEBUG cmp fail: line is printed to the user.)
Activity
A tuple or array literal compared with a typed operand takes its type…
A tuple or array literal compared with a typed operand takes its type…
Tuples and multi-field enum payloads at TypeLayout's alignment (#1964)…
ehartford commentedon Oct 3, 2026
Fixed on main by da08b14 (#1999, battery green on 857b5a4).
D114: literal arguments meet `&T` parameters; generic instances that …
D114: isize is the target's size width — literal default, len family,…