-
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
Borrow Checker Paniced Upon Gifted Code #80767
Comments
This is a stable-to-stable regression. https://rust.godbolt.org/z/Kr7Peh ICE happened here:
|
Regression commit between 2019-10-29 and 2019-10-30 Bisected using command:
|
Assigning |
Minimized: fn main() { [(&[0u8], None::<String>); 2]; } Related to changes from #65858, which to produce a suggestion for |
"Look Pal, it's either borrowed or taken. No gifting or buying stuff here."
Code
Meta
It reproduces on nightly and two other versions
Error output
Backtrace
The text was updated successfully, but these errors were encountered: