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

Support #[mutants::skip] attribute on more statements #318

Open
sourcefrog opened this issue Apr 5, 2024 · 0 comments
Open

Support #[mutants::skip] attribute on more statements #318

sourcefrog opened this issue Apr 5, 2024 · 0 comments
Labels
generate Patterns of mutation

Comments

@sourcefrog
Copy link
Owner

It would be helpful if you could put #[mutants::skip] on arbitrary statements such as const, let, or expression statements.

There are some restrictions (https://doc.rust-lang.org/reference/attributes.html) on where they can go but I think several useful cases could be handled in stable Rust.

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

No branches or pull requests

1 participant