Closed grenewode closed 6 years ago
Can we get a bisection?
cc @estebank -- any idea?
I'm going to optimistically assign @estebank -- but feel free to tell me it's not his fault. It may be mine, I touched some code there too. Mostly waiting on a bisection.
@grenewode if you are able to give https://github.com/rust-lang-nursery/cargo-bisect-rustc a try, that'd be great.
cc @rust-lang/release, otherwise.
Bisected this, the regression appears in the #47622 rollup. The only compiler-related changes are:
But the likely cause is #47573, cc @estebank @nikomatsakis
Will look into it.
When a tuple struct's constructor is passed to a function as a callback, the compiler panics if the constructor the wrong number of arguments.
I tried this code:
On
1.24.1
, this results in the following error as expected:However, on 1.25.0, the compiler panics instead:
This may be a duplicate of #47706, although this is occuring on a newer version of the compiler.
Meta
This happens on stable and nightly
rustc --version --verbose
:rustup run nightly rustc --version --verbose
:Backtrace: