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

Commits on Nov 27, 2021

  1. Copy the full SHA
    b144b3d View commit details
    Browse the repository at this point in the history
  2. Ignore too_many_lines Clippy pedantic lint in test

        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 committed Nov 27, 2021
    Copy the full SHA
    9bbd883 View commit details
    Browse the repository at this point in the history