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

Disallow list pattern with more than one element for Option<T> #828

Closed
2 tasks done
bash opened this issue Jan 30, 2025 · 0 comments · Fixed by #850
Closed
2 tasks done

Disallow list pattern with more than one element for Option<T> #828

bash opened this issue Jan 30, 2025 · 0 comments · Fixed by #850

Comments

@bash
Copy link
Member

bash commented Jan 30, 2025

See also #760

  • Disallow Count and indexer to be used directly
  • Warn against incorrect list pattern usage (more than one element)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant