Remove more `snippet_opt` calls First commit is the same as #13244 changelog: none
rustc_semver
rustc_session::RustcVersion