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

get_impl_paths more exhaustive checks #1342

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

tjhance
Copy link
Collaborator

@tjhance tjhance commented Nov 13, 2024

get_impl_paths errors if it finds a trait bound that it doesn't know how to handle. Similar in spirit to #1341

This leaves a few open issues:

// There can't be user impls of these traits, they can only be built-in.

// TODO: Send and Sync needs handling, or a rigorous argument why it's ok to skip;
// See https://github.com/verus-lang/verus/issues/1335
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I commented on #1335 . Is this TODO considered resolved, or does it need more discussion?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm genuinely unsure about this one; if there's no issue, I'd still like to see a rigorous argument.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I tried to write out a more rigorous argument in #1335 .

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

Successfully merging this pull request may close these issues.

2 participants