Auto merge of #115910 - eduardosm:lang-fns-target-features, r=cjgillot

Prevent using `#[target_feature]` on lang item functions

Fixes https://github.com/rust-lang/rust/issues/109411 and also prevents from using `#[target_feature]` on other `fn` lang items to mitigate the concerns from https://github.com/rust-lang/rust/issues/109411#issuecomment-1477030273.
This commit is contained in:
bors 2023-09-22 05:07:45 +00:00
commit cc424354f4

Diff content is not available