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
Rollup merge of #141429 - compiler-errors:unsafe-binder-non-structural-match, r=spastorino
Dont walk into unsafe binders when emiting error for non-structural type match
Fixes#141422.
The other two binder-having types are also special cased here, unsurprisingly.
r? oli-obk
| ---------------------------------------------------- constant defined here
6
+
...
7
+
LL | C => {}
8
+
| ^ constant of non-structural type
9
+
|
10
+
= note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details
0 commit comments