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

model error messages #5

Open
nikomatsakis opened this issue Jul 10, 2017 · 0 comments
Open

model error messages #5

nikomatsakis opened this issue Jul 10, 2017 · 0 comments

Comments

@nikomatsakis
Copy link
Owner

It might be interesting to try to model the intended "sandwich-style" error messages, which would not only pinpoint the point of borrow and point of illegal use, but also a later use of the reference that is keeping it alive. Presumably we could find this by starting a BFS from the point of error, seeking out points where a relevant inference constraint was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant