-
Notifications
You must be signed in to change notification settings - Fork 13.4k
resolving bounds after type-checking: predict trait for std::ops::FnMut #70746
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
Comments
It's strange, I tried these code in main fn main() {
// let mut s = State::<T1>::new();
// s.test_cb(1);
let cb: Option<Box<dyn Callback<T1>>> = None;
(cb.unwrap())(1);
} and it complains about |
Assigning This one also sounds a bit similar to #69892 and #27675 which is very old. Would be nice to find if there are duplicates too. |
Pinging cleanup to find duplicates ... @rustbot ping cleanup |
Hey Cleanup Crew ICE-breakers! This bug has been identified as a good cc @AminArria @chrissimpkins @contrun @DutchGhost @elshize @ethanboxx @h-michael @HallerPatrick @hdhoang @hellow554 @imtsuki @jakevossen5 @kanru @KarlK90 @LeSeulArtichaut @MAdrianMattocks @matheus-consoli @mental32 @nmccarty @Noah-Kennedy @pard68 @PeytonT @pierreN @Redblueflame @RobbieClarken @RobertoSnap @robjtede @SarthakSingh31 @senden9 @shekohex @sinato @spastorino @turboladen @woshilapin @yerke |
Triage: It's no longer ICE with the latest nightly, I think it's fixed by #77720. |
…agisa Add some regression tests Closes rust-lang#56229 Closes rust-lang#59494 Closes rust-lang#70746 Closes rust-lang#73229
Code
playgound
Meta
rustc --version --verbose
:Error output
Backtrace
the backtrace itself is all
<unknown>
The text was updated successfully, but these errors were encountered: