refactor some FnType
stuff to rustc::ty::layout
#60693
Merged
FnType
stuff to rustc::ty::layout
#60693