Skip to content

Build fails on nightly-2021-04-11 with runtime feature enabled.Β #127

@EliaGeretto

Description

@EliaGeretto

When building with the runtime feature enabled, several errors appear using the nightly from 2021-04-11. They all look like the following:

error[E0642]: patterns aren't allowed in methods without bodies
    --> src/lib.rs:1683:39
     |
1683 |     pub fn clang_CXCursorSet_contains(set: CXCursorSet, cursor: CXCursor) -> c_uint;
     |                                       ^^^
     |
help: give this argument a name or use an underscore to ignore it
     |
1683 |     pub fn clang_CXCursorSet_contains(_: CXCursorSet, cursor: CXCursor) -> c_uint;
     |                                       ^

I am not sure whether this is a compiler regression or not, so I bisected rustc and concluded that this PR seems to have introduced the issue. I thought it was still worth reporting the problem here so the maintainer of this repo can verify himself if he can reproduce the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions