Adjust -Zcheck-cfg for new rustc syntax and behavior
#12845
Merged
-Zcheck-cfg for new rustc syntax and behavior
#12845