Closed
Description
I tried building clang-sys 0.29.3
with feature runtime
on the latest nightly.
I expected to see this happen: it builds successfully.
Instead, this happened:
> cargo +nightly build --features runtime |& head -n 20
Compiling clang-sys v0.29.3 (/tmp/tmp.EH8ss9nTlb/clang-sys-0.29.3)
error[E0642]: patterns aren't allowed in methods without bodies
--> src/lib.rs:1660:39
|
1660 | pub fn clang_CXCursorSet_contains(set: CXCursorSet, cursor: CXCursor) -> c_uint;
| ^^^
|
help: give this argument a name or use an underscore to ignore it
|
1660 | pub fn clang_CXCursorSet_contains(_: CXCursorSet, cursor: CXCursor) -> c_uint;
| ^
error[E0642]: patterns aren't allowed in methods without bodies
--> src/lib.rs:1660:57
|
1660 | pub fn clang_CXCursorSet_contains(set: CXCursorSet, cursor: CXCursor) -> c_uint;
| ^^^^^^
|
help: give this argument a name or use an underscore to ignore it
|
Meta[
rustc --version --verbose
:
rustc 1.53.0-nightly (d0695c908 2021-04-12)
binary: rustc
commit-hash: d0695c9081b16077d0aed368bccaf437d77ff497
commit-date: 2021-04-12
host: x86_64-unknown-linux-gnu
release: 1.53.0-nightly
LLVM version: 12.0.0