-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Only skip impls of foreign unstable traits #74534
Conversation
Previously unstable impls were skipped, which meant that any impl with an unstable method would get skipped.
r? @ollie27 (rust_highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me but I'm not too familiar with this part of the codebase. Did you check that the test case fails without this fix?
Yes, and I confirmed that at least std::panic::Location builds with all methods included, and I couldn't find any stray impls on u32 with the patch (which was the reason for the start of it in the first place). |
@bors r+ p=1 yeah this looks just about what I'd expect that patch to be |
📌 Commit e24a017 has been approved by |
…arth Rollup of 9 pull requests Successful merges: - rust-lang#73618 (Documentation for the false keyword) - rust-lang#74486 (Improve Read::read_exact documentation) - rust-lang#74514 (Do not clobber RUSTDOCFLAGS) - rust-lang#74516 (do not try fetching the ancestors of errored trait impls) - rust-lang#74520 (include backtrace folder in rust-src component) - rust-lang#74523 (Improve documentation for `core::fmt` internals) - rust-lang#74527 (Add myself to toolstate change notifications for rustfmt) - rust-lang#74534 (Only skip impls of foreign unstable traits) - rust-lang#74536 (fix documentation surrounding the `in` and `for` keywords) Failed merges: r? @ghost
Previously unstable impls were skipped, which meant that any impl with an unstable method would get skipped.
Fixes #74531.