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

fix: Don't show unresolved-field diagnostic for missing names #15223

Merged
merged 1 commit into from Jul 6, 2023

Conversation

lowr
Copy link
Contributor

@lowr lowr commented Jul 6, 2023

I don't think reporting "no field `[missing name]` on type `SomeType`" makes much sense because it's a syntax error rather than a semantic error. We already report a syntax error for it and I find it sufficient.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 6, 2023
@HKalbasi
Copy link
Member

HKalbasi commented Jul 6, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 6, 2023

📌 Commit 827a053 has been approved by HKalbasi

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jul 6, 2023

⌛ Testing commit 827a053 with merge db17f79...

@bors
Copy link
Collaborator

bors commented Jul 6, 2023

☀️ Test successful - checks-actions
Approved by: HKalbasi
Pushing db17f79 to master...

@bors bors merged commit db17f79 into rust-lang:master Jul 6, 2023
10 checks passed
@lnicola lnicola changed the title Don't show unresolved-field diagnostic for missing names fix: Don't show unresolved-field diagnostic for missing names Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants