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

Parse unsafe and extern fn pointer types #203

Merged
merged 2 commits into from Nov 27, 2021
Merged

Parse unsafe and extern fn pointer types #203

merged 2 commits into from Nov 27, 2021

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Nov 27, 2021

No description provided.

    error: this function has too many lines (115/100)
       --> tests/test_ensure.rs:431:1
        |
    431 | / fn test_as() {
    432 | |     let test = || Ok(ensure!('\0' as u8 > 1));
    433 | |     assert_err(test, "Condition failed: `'\\0' as u8 > 1` (0 vs 1)");
    434 | |
    ...   |
    570 | |     assert_err(test, "Condition failed: `0 as int! { ... } != 0` (0 vs 0)");
    571 | | }
        | |_^
        |
        = note: `-D clippy::too-many-lines` implied by `-D clippy::pedantic`
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines
@dtolnay dtolnay merged commit 210d741 into master Nov 27, 2021
@dtolnay dtolnay deleted the fn branch November 27, 2021 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant