diff options
| author | Martin Nordholts <martin.nordholts@codetale.se> | 2024-02-09 06:44:56 +0100 |
|---|---|---|
| committer | Martin Nordholts <martin.nordholts@codetale.se> | 2024-02-23 22:02:27 +0100 |
| commit | a1cb3dba840fd56a7f9a0c90346a1fcddc641f9c (patch) | |
| tree | ae3820c2be799c028204a49981a4706ca6dfe213 /tests/ui/attributes | |
| parent | e060274e55a5b09fe6ace6dfe72ca0cca663b711 (diff) | |
| download | rust-a1cb3dba840fd56a7f9a0c90346a1fcddc641f9c.tar.gz rust-a1cb3dba840fd56a7f9a0c90346a1fcddc641f9c.zip | |
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"]
Diffstat (limited to 'tests/ui/attributes')
| -rw-r--r-- | tests/ui/attributes/unix_sigpipe/unix_sigpipe-bare.rs (renamed from tests/ui/attributes/unix_sigpipe/unix_sigpipe.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/attributes/unix_sigpipe/unix_sigpipe-bare.stderr (renamed from tests/ui/attributes/unix_sigpipe/unix_sigpipe.stderr) | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/attributes/unix_sigpipe/unix_sigpipe.rs b/tests/ui/attributes/unix_sigpipe/unix_sigpipe-bare.rs index 7bf1c7350c3..7bf1c7350c3 100644 --- a/tests/ui/attributes/unix_sigpipe/unix_sigpipe.rs +++ b/tests/ui/attributes/unix_sigpipe/unix_sigpipe-bare.rs diff --git a/tests/ui/attributes/unix_sigpipe/unix_sigpipe.stderr b/tests/ui/attributes/unix_sigpipe/unix_sigpipe-bare.stderr index b18ec9abc37..56218ed499e 100644 --- a/tests/ui/attributes/unix_sigpipe/unix_sigpipe.stderr +++ b/tests/ui/attributes/unix_sigpipe/unix_sigpipe-bare.stderr @@ -1,5 +1,5 @@ error: valid values for `#[unix_sigpipe = "..."]` are `inherit`, `sig_ign`, or `sig_dfl` - --> $DIR/unix_sigpipe.rs:3:1 + --> $DIR/unix_sigpipe-bare.rs:3:1 | LL | #[unix_sigpipe] | ^^^^^^^^^^^^^^^ |
