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

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

Closed
EliaGeretto opened this issue Apr 12, 2021 · 3 comments
Closed

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

EliaGeretto opened this issue Apr 12, 2021 · 3 comments

Comments

@EliaGeretto
Copy link

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.

@EliaGeretto
Copy link
Author

The problem should be reproducible with cargo build --features 'runtime'.

@EliaGeretto
Copy link
Author

A fix is on the way: rust-lang/rust#84130

unageek added a commit to unageek/graphest that referenced this issue Apr 13, 2021
unageek added a commit to unageek/graphest that referenced this issue Apr 13, 2021
@EliaGeretto
Copy link
Author

This issue has been fixed in master, the fix has been merged.

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

No branches or pull requests

1 participant