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"]
9 lines
214 B
Plaintext
9 lines
214 B
Plaintext
error: valid values for `#[unix_sigpipe = "..."]` are `inherit`, `sig_ign`, or `sig_dfl`
|
|
--> $DIR/unix_sigpipe-bare.rs:3:1
|
|
|
|
|
LL | #[unix_sigpipe]
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|