You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #158313 - obeis:move-check_target_feature, r=JonathanBrouwer
Move `check_target_feature` into the attribute parser
Updates #153101
Use `TargetFeatureParser` to reject `#[target_feature]` on functions marked as lang items (via `#[lang = "..."]` or `#[panic_handler]`), replacing `check_target_feature` in `rustc_passes`.
r? @JonathanBrouwer
| ------------------------------------------------------------------------------------------- `start` lang item function is not allowed to have `#[target_feature]`
0 commit comments