mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
f84347a07e
Unsafe kept in help text Currently when encountering a malformed attribute, the compiler will suggest removing unsafe in the well-formed template even when unsafe is required. This PR preserves whatever unsafe (or lack) exists in the user's code. r? @jdonszelmann