]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #13866 - Nilstrieb:rustc_safe_intrinsic, r=Veykril
authorbors <bors@rust-lang.org>
Fri, 30 Dec 2022 22:14:31 +0000 (22:14 +0000)
committerbors <bors@rust-lang.org>
Fri, 30 Dec 2022 22:14:31 +0000 (22:14 +0000)
Use `rustc_safe_intrinsic` attribute to check for intrinsic safety

Instead of maintaining a list that is poorly kept in sync we can just use the attribute.

This will make new RA versions unusable with old toolchains that don't have the attribute yet. Should we keep maintaining the list as a fallback or just don't care?


Trivial merge