Skip to content

Conversation

BoxyUwU
Copy link
Member

@BoxyUwU BoxyUwU commented Nov 23, 2022

Fixes #104768

error_reported() was only checking if there were errors emitted, not for delay_bugs which can also be a source of ErrorGuaranteed. I assume the same is true of lint_err_count but i dont know

@rustbot
Copy link
Collaborator

rustbot commented Nov 23, 2022

r? @fee1-dead

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

@rustbot rustbot added A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 23, 2022
@BoxyUwU BoxyUwU changed the title make error_reported check for delayed bugs and denied lints make error_reported check for delayed bugs Nov 23, 2022
@oli-obk
Copy link
Contributor

oli-obk commented Nov 24, 2022

@rustbot rustbot assigned oli-obk and unassigned fee1-dead Nov 24, 2022
@BoxyUwU BoxyUwU force-pushed the error_reported_not_be_bad branch from b43a45c to 72d8879 Compare November 24, 2022 11:13
@BoxyUwU
Copy link
Member Author

BoxyUwU commented Nov 24, 2022

@bors r=oli-obk

@bors
Copy link
Collaborator

bors commented Nov 24, 2022

📌 Commit 72d8879 has been approved by oli-obk

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 24, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 24, 2022
… r=oli-obk make `error_reported` check for delayed bugs Fixes rust-lang#104768 `error_reported()` was only checking if there were errors emitted, not for `delay_bug`s which can also be a source of `ErrorGuaranteed`. I assume the same is true of `lint_err_count` but i dont know
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 24, 2022
… r=oli-obk make `error_reported` check for delayed bugs Fixes rust-lang#104768 `error_reported()` was only checking if there were errors emitted, not for `delay_bug`s which can also be a source of `ErrorGuaranteed`. I assume the same is true of `lint_err_count` but i dont know
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 24, 2022
…iaskrgr Rollup of 11 pull requests Successful merges: - rust-lang#104514 (Use node_ty_opt to avoid ICE in visit_ty) - rust-lang#104704 (Allow power10-vector feature in PowerPC) - rust-lang#104747 (resolve: Don't use constructor def ids in the map for field names) - rust-lang#104773 (OpaqueCast projections are always overlapping, they can't possibly be disjoint) - rust-lang#104774 (Document split{_ascii,}_whitespace() for empty strings) - rust-lang#104780 (make `error_reported` check for delayed bugs) - rust-lang#104782 (Bump the const eval step limit) - rust-lang#104792 (rustdoc: simplify `.search-results-title` CSS) - rust-lang#104796 (lint: do not warn unused parens around higher-ranked function pointers) - rust-lang#104820 (Remove normalize_projection_type) - rust-lang#104822 (with_query_mode -> new) Failed merges: - rust-lang#104716 (move 2 candidates into builtin candidate) - rust-lang#104841 (Assert that we don't capture escaping bound vars in `Fn` trait selection) r? `@ghost` `@rustbot` modify labels: rollup
@bors bors merged commit 4843946 into rust-lang:master Nov 25, 2022
@rustbot rustbot added this to the 1.67.0 milestone Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

5 participants