9 lines
218 B
Plaintext
9 lines
218 B
Plaintext
error: `unix_sigpipe` attribute can only be used on `fn main()`
|
|
--> $DIR/unix_sigpipe-non-main-fn.rs:3:1
|
|
|
|
|
LL | #[unix_sigpipe = "inherit"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|