Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Add ui/attributes/unix_sigpipe/unix_sigpipe-str-list.rs #122363

Merged
merged 1 commit into from
Mar 12, 2024

Commits on Mar 12, 2024

  1. 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. 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
    Enselic committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    98553ce View commit details
    Browse the repository at this point in the history