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

Create a module for expr classification functions #1647

Merged
merged 1 commit into from May 11, 2024
Merged

Create a module for expr classification functions #1647

merged 1 commit into from May 11, 2024

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented May 11, 2024

This will eventually hold all 3 of the functions from rust-lang/rust#119427's compiler/rustc_ast/src/util/classify.rs:

  • expr_requires_semi_to_be_stmt
  • expr_requires_comma_to_be_match_arm
  • expr_trailing_brace

@dtolnay dtolnay merged commit b2a7ac8 into master May 11, 2024
29 checks passed
@dtolnay dtolnay deleted the classify branch May 11, 2024 23:06
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.

None yet

1 participant