-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE when taking reference of an array element across crate border #13077
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
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Comments
This particular example no longer causes an ICE.
|
Can confirm, no more ICE. |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jul 25, 2024
…r=Alexendoo Fix `needless_option_as_deref` false-positive on struct literals changelog: [`needless_option_as_deref`] Fix false-positive on struct literals. Fixes rust-lang#13077 . r? Alexendoo
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Feb 20, 2025
fixes rust-lang#14148 Another case of rust-lang#13077 and rust-lang#8646 changelog: [`needless_option_as_deref`]: fix FP in trait
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Script to reproduce:
Version:
Output:
The text was updated successfully, but these errors were encountered: