mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-19 12:05:08 +00:00
ee428c55b2
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.
5 lines
108 B
Rust
5 lines
108 B
Rust
#![feature(unix_sigpipe)]
|
|
|
|
#[unix_sigpipe] //~ error: malformed `unix_sigpipe` attribute input
|
|
fn main() {}
|