Better error for non const `PartialEq` call generated by `match` Resolves #90237
-
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.