You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dotdash opened this issue
Jul 22, 2013
· 4 comments
· Fixed by #9902
Labels
A-codegenArea: Code generationI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.P-mediumMedium priority
crashes with a double free, because the glue call in main tries to free the originally allocated memory that was already freed by the assignment in foo.
The code generation previously assumed a reference could not alter the
value in a way the destructor would notice. This is an incorrect
assumption for `&mut`, and is also incorrect for an `&` pointer to a
non-`Freeze` type.
Closes#7972
…teffen
Improve `redundant_slicing` lint
fixesrust-lang#7972fixesrust-lang#7257
This can supersede rust-lang#7976
changelog: Fix suggestion for `redundant_slicing` when re-borrowing for a method call
changelog: New lint `deref_as_slicing`
A-codegenArea: Code generationI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.P-mediumMedium priority
crashes with a double free, because the glue call in
main
tries to free the originally allocated memory that was already freed by the assignment infoo
.The text was updated successfully, but these errors were encountered: