Stacked Borrows: Show stacktrace of when an item was popped #531
Labels
A-aliasing
Area: This affects the aliasing model (Stacked/Tree Borrows)
C-enhancement
Category: a PR with an enhancement or an issue tracking an accepted enhancement
When debugging a stacked borrows failure, it would be really useful if, together with the message saying an item was not found in the stack, one could get a stacktrace saying "here is when the item got popped". That would indicate the conflicting access that invalidated the access that is right now being performed.
The text was updated successfully, but these errors were encountered: