Repository navigation
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-criticalCritical priorityCritical priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Milestone
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
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-criticalCritical priorityCritical priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Activity
Nemo157 commentedon Apr 13, 2021
First regressed in
rustc 1.53.0-nightly (a86612456 2021-04-11).Aaron1011 commentedon Apr 13, 2021
Will be fixed by #84130
Workaround for rust-lang/rust#84162
Fix derivation and implementation of GCD (#32)
SimonSapin commentedon Apr 14, 2021
This affects Servo too, through rust-bindgen:
searched nightlies: from nightly-2021-04-10 to nightly-2021-04-12
regressed nightly: nightly-2021-04-12
searched commits: from a836d9b to a866124
regressed commit: ba6275b
bisected with cargo-bisect-rustc v0.6.0
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
apiraino commentedon Apr 14, 2021
Assigning
P-criticalfor its impact, as discussed as part of the Prioritization Working Group procedure and removingI-prioritize.@rustbot label -I-prioritize +P-critical
pnkfelix commentedon Apr 14, 2021
For the record, according to the bisection performed by @SimonSapin above, this was injected by PR #82608. (But as @Aaron1011 noted above, it will be fixed by PR #84130.)
Auto merge of rust-lang#84130 - Aaron1011:fix/none-delim-lookahead, r…
rust-lang/rust#84162 has been fixed