-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
ICE for return_position_impl_trait_in_trait #105197
Comments
Minimized:
searched nightlies: from nightly-2022-11-01 to nightly-2022-12-02 bisected with cargo-bisect-rustc v0.6.4Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --access github --timeout 30 --start 2022-11-01 --end 2022-12-02 --regress ice cc @cjgillot -- those bidirectional outlives predicates you install in |
…errors Make nested RPIT inherit the parent opaque's generics. Fixes rust-lang#105197 r? `@compiler-errors`
…errors Make nested RPIT inherit the parent opaque's generics. Fixes rust-lang#105197 r? ``@compiler-errors``
Make nested RPIT inherit the parent opaque's generics. Fixes rust-lang/rust#105197 r? ```@compiler-errors```
Thanks, fix confirmed |
…jgillot Revert "Make nested RPITIT inherit the parent opaque's generics." This reverts commit e2d41f4, and adjusts the `tests/ui/async-await/in-trait/nested-rpit.rs` test. r? `@cjgillot` fixes rust-lang#106332, manually verified because it had no minimization :/ reopens rust-lang#105197 cc rust-lang#106729
Couldn't reproduce this with the minimized version or the original commit |
Oh, yeah, this got fixed by changing the capture rules for RPITIT. |
Code
This commit introduces code that causes an ICE, i.e. before this commit it compiles fine and after the commit it ICEs:
smessmer/lockable@10923f1
This is on Rust nightly with features
async_fn_in_trait
andreturn_position_impl_trait_in_trait
.Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: