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

Map our diagnostics to rustc and clippy's ones #14990

Merged
merged 1 commit into from Jul 3, 2023

Conversation

HKalbasi
Copy link
Member

@HKalbasi HKalbasi commented Jun 5, 2023

And control their severity by lint attributes #[allow], #[deny] and ... .

It doesn't work with proc macros and I would like to fix that before merge but I don't know how to do it.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 5, 2023
crates/ide-diagnostics/src/lib.rs Outdated Show resolved Hide resolved
crates/ide-diagnostics/src/lib.rs Outdated Show resolved Hide resolved
crates/ide-diagnostics/src/lib.rs Outdated Show resolved Hide resolved
@Veykril
Copy link
Member

Veykril commented Jun 9, 2023

Huh, I canceled an old pending review which caused it to be posted? 🤨

@HKalbasi
Copy link
Member Author

I ended up ignoring all lints in the proc macros since I think the infrastructure for handling them correctly is not there yet, and false negatives are generally better than false positives.

r? @Veykril

@HKalbasi
Copy link
Member Author

HKalbasi commented Jul 3, 2023

Let's merge this now to find its potential problems in nightly releases.
@bors r+

@bors
Copy link
Collaborator

bors commented Jul 3, 2023

📌 Commit e55a1f1 has been approved by HKalbasi

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jul 3, 2023

⌛ Testing commit e55a1f1 with merge 45272ef...

@bors
Copy link
Collaborator

bors commented Jul 3, 2023

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

@bors bors merged commit 45272ef into rust-lang:master Jul 3, 2023
10 checks passed
@Veykril
Copy link
Member

Veykril commented Jul 3, 2023

oh sorry, I think I missed your ping back then 😅

@HKalbasi
Copy link
Member Author

HKalbasi commented Jul 4, 2023

That's fine :) I was just not super confident about the changes in ide-diagnostics/src/lib.rs. I can still fix problems if you see any.

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