mirror of
https://github.com/rust-lang/rust.git
synced 2026-07-08 08:49:34 -04:00
74830a7fcb
Use `TargetFeatureParser` to reject `#[target_feature]` on functions marked as lang items (via `#[lang = "..."]` or `#[panic_handler]`), replacing `check_target_feature` in `rustc_passes`.