mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
c4b159c4a0
diagnostics: Do not suggest using `#[unix_sigpipe]` without a value Remove `Word` from the `unix_sigpipe` attribute template so that plain `#[unix_sigpipe]` is not included in suggestions of valid forms of the attribute. Also re-arrange diagnostics code slightly to avoid duplicate diagnostics. Tracking issue is https://github.com/rust-lang/rust/issues/97889.