You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was building some library, which depended on clang-sys but it fails on rustc 1.53.0-nightly (d0695c908 2021-04-12) with a lot of error messages. When looking for the error, old issues from 2017 come up, related to rustc-serialize.
A prototypical example of the hundreds of errors:
error[E0642]: patterns aren't allowed in methods without bodies
--> /Users/test/.cargo/registry/src/github.com-1ecc6299db9ec823/clang-sys-1.2.0/src/lib.rs:1966:37
|
1966 | pub fn clang_findIncludesInFile(tu: CXTranslationUnit, file: CXFile, cursor: CXCursorAndRangeVisitor) -> CXResult;
| ^^
|
help: give this argument a name or use an underscore to ignore it
|
1966 | pub fn clang_findIncludesInFile(_: CXTranslationUnit, file: CXFile, cursor: CXCursorAndRangeVisitor) -> CXResult;
I was building some library, which depended on
clang-sys
but it fails onrustc 1.53.0-nightly (d0695c908 2021-04-12)
with a lot of error messages. When looking for the error, old issues from 2017 come up, related torustc-serialize
.A prototypical example of the hundreds of errors:
Meta
This bug only happens on nightly.
rustc --version --verbose
:I also created an issue here KyleMayes/clang-sys#130, since I'm not sure, where the error is coming from.
The text was updated successfully, but these errors were encountered: