Adjust -Zcheck-cfg for new rustc syntax and behavior
#12845
+92
−278
Merged