Skip to content
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

refcell_backtrace doesn't work #26971

Closed
jdm opened this issue Jun 18, 2020 · 0 comments
Closed

refcell_backtrace doesn't work #26971

jdm opened this issue Jun 18, 2020 · 0 comments
Assignees
Labels

Comments

@jdm
Copy link
Member

@jdm jdm commented Jun 18, 2020

Our DomRefCell borrow/borrow_mut methods call try_borrow/try_borrow_mut instead of accountable_refcell's borrow/borrow_mut. The backtraces only happen from the borrow/borrow_mut methods.

@jdm jdm added the I-bustage label Jun 18, 2020
@jdm jdm self-assigned this Jun 18, 2020
bors-servo added a commit that referenced this issue Jun 19, 2020
Fix refcell_backtrace feature.

This makes the output of a borrow error contain the expected list of conflicting borrows. Fixes #26971.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.