diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2024-03-12 09:04:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-12 09:04:02 -0700 |
| commit | 778c76c6a700f96303684b647ee2e692f0c36319 (patch) | |
| tree | 0c13a483ad6532484eef855d34b9348ae879d2ce /compiler/rustc_codegen_llvm/src | |
| parent | 1aef2fb259efe10fc0c05fc875026cb3e9e42283 (diff) | |
| parent | 98553ce27e68e2d7b8fb3919c9aec7253dfd3a5a (diff) | |
| download | rust-778c76c6a700f96303684b647ee2e692f0c36319.tar.gz rust-778c76c6a700f96303684b647ee2e692f0c36319.zip | |
Rollup merge of #122363 - Enselic:unix_sigpipe-str-list, r=oli-obk
tests: Add ui/attributes/unix_sigpipe/unix_sigpipe-str-list.rs Which is a variant of [`unix_sigpipe-list.rs`][1] but where a string is used instead of an identifier. This makes it more similar to the proper form `#[unix_sigpipe = "sig_dfl"]` and thus more likely to be written by users by mistake. Having a test for this case gives peace of mind. Also rename the first test to be more in line with the terminology of [The Reference][2]. [1]: https://github.com/rust-lang/rust/blob/master/tests/ui/attributes/unix_sigpipe/unix_sigpipe-list.rs [2]: https://doc.rust-lang.org/reference/attributes.html#meta-item-attribute-syntax Tracking issue: https://github.com/rust-lang/rust/issues/97889
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
