This also remove safety information from MIR.
For more information about how rustc works, see the rustc dev guide.