-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rocket fails to build on latest nightly #89935
Comments
A similar issue affects Rocket 0.5.0-rc.1: rwf2/Rocket#1948 Since Rocket 0.5 builds on stable... @rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged |
Bisected to #86011 |
Minimised: trait Foo: Baz {}
trait Bar {}
trait Baz: Bar {
fn bar(&self);
}
impl<T: Foo> Bar for T {}
impl<T: Foo> Baz for T {
fn bar(&self) {}
}
fn accept_foo(x: Box<dyn Foo>) {
x.bar();
} |
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-critical |
Based on this I downgraded my Rust version and it worked. I'm using Rocket v0.4.9 |
Let's revert #86011. |
Revert rust-lang#86011 to fix an incorrect bound check This reverts commit 36a1076, reversing changes made to e1e9319. Fixes rust-lang#89935 r? `@estebank`
Revert rust-lang#86011 to fix an incorrect bound check This reverts commit 36a1076, reversing changes made to e1e9319. Fixes rust-lang#89935 r? `@estebank`
Code
I created a project with the following
Cargo.toml
:Cargo.lock
On the latest nightly, this fails to build with:
There is no such error with
+nightly-2021-10-14
.Version it worked on
rustc +nightly-2021-10-14 --version --verbose
:Version with regression
rustc +nightly-2021-10-16 --version --verbose
:The text was updated successfully, but these errors were encountered: