rust/tests/ui/attributes/unix_sigpipe/unix_sigpipe-struct.stderr
2023-01-11 09:32:08 +00:00

9 lines
213 B
Plaintext

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