Skip to content

Commit a1cb3db

Browse files
committed
tests: Rename unix_sigpipe.rs to unix_sigpipe-bare.rs for clarity
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"]
1 parent e060274 commit a1cb3db

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

tests/ui/attributes/unix_sigpipe/unix_sigpipe.stderr tests/ui/attributes/unix_sigpipe/unix_sigpipe-bare.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: valid values for `#[unix_sigpipe = "..."]` are `inherit`, `sig_ign`, or `sig_dfl`
2-
--> $DIR/unix_sigpipe.rs:3:1
2+
--> $DIR/unix_sigpipe-bare.rs:3:1
33
|
44
LL | #[unix_sigpipe]
55
| ^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)