mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00

The test is for the "bare" variant of the attribute that looks like this: #[unix_sigpipe] which is not allowed, because it must look like this: #[unix_sigpipe = "sig_ign"]
5 lines
149 B
Rust
5 lines
149 B
Rust
#![feature(unix_sigpipe)]
|
|
|
|
#[unix_sigpipe] //~ error: valid values for `#[unix_sigpipe = "..."]` are `inherit`, `sig_ign`, or `sig_dfl`
|
|
fn main() {}
|