Skip to content

Improve diagnostic of no_mangle_with_rust_abi #10420

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

Merged
merged 1 commit into from
Mar 11, 2023

Conversation

Jarcho
Copy link
Contributor

@Jarcho Jarcho commented Feb 28, 2023

fixes #10409

Pending rust-lang/rustfmt#5701

This rewords the message to focus on the error being an implicit ABI, rather than the Rust ABI. Also downgrades the suggestion to MaybeIncorrect and changes the suggestion span to better highlight the change.


changelog: None

@rustbot
Copy link
Collaborator

rustbot commented Feb 28, 2023

r? @dswij

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Feb 28, 2023
@dswij
Copy link
Member

dswij commented Mar 11, 2023

@bors r+

@bors
Copy link
Contributor

bors commented Mar 11, 2023

📌 Commit 003a211 has been approved by dswij

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Mar 11, 2023

⌛ Testing commit 003a211 with merge e426ba4...

@bors
Copy link
Contributor

bors commented Mar 11, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: dswij
Pushing e426ba4 to master...

@bors bors merged commit e426ba4 into rust-lang:master Mar 11, 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.

FP no_mangle_with_rust_abi, suggestion does not apply
4 participants