mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 09:44:40 +00:00
Check unsafe impls on safe EIIs Tracking issue: rust-lang/rust#125418 Unsafe EIIs require implementations to use `#[unsafe(...)]`, but safe EIIs currently accept this form as well. This should be rejected, just like `unsafe impl` on a safe trait. This also fixes existing EII UI tests using this pattern and adds a new regression test.