- 
                Notifications
    
You must be signed in to change notification settings  - Fork 13.9k
 
Closed
Closed
Copy link
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
#![deny(where_clauses_object_safety)]
pub trait Trait {
    fn method(&self) where Self: Sync;
}I bisected #51443 (comment). According to cargo-bisect-rustc --start 2022-12-28 --end 2022-12-29 -- check it bisects to 6a20f7d. This is concerning because nothing in #106209 looks remotely related to where_clause_object_safety so I am inferring that this is an unintentional regression.
Here are the 9 PRs in the rollup:
Definitely not it:
- Test leaking of BinaryHeap Drain iterators #94145 — TEST ONLY
 - Fix 
unused_must_usewarning forBox::from_raw#104024 — DIAGNOSTIC TEXT ONLY - Fix backoff doc to match implementation #104708 — COMMENT ONLY
 - Fix 
core::anydocs #106184 — DOCS ONLY - Remove some totally duplicated files in 
rustc_infer#106205 — DEAD CODE 
Highly unlikely:
- Remove 
iter::Emptyhack #103945 — INTERNALS OF CORE::ITER::EMPTY - Account for 
matchexpr in single line #105347 — MINOR DIAGNOSTIC FORMATTING TWEAK - Emit fewer errors on invalid 
#[repr(transparent)]onenum#106201 — REPR(TRANSPARENT)-RELATED DIAGNOSTICS 
I guess that leaves:
which only adds a brand new lint pass unrelated to where_clauses_object_safety, independent of any existing code. The PR is +167 -0. It seems like the only possible effect should be adding new occurrences of multiple_supertrait_upcastable, not affecting anything else.
In any case cc @nbdd0121 @compiler-errors in case you can tell what's going on.
agostbiro, woodruffw and andrewpollack
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.