Skip to content

Allow #[unstable] impls for fn() with unstable abi. - #103239

Merged
bors merged 5 commits into
rust-lang:masterfrom
m-ou-se:unstable-abi-fn-impl-check
Oct 20, 2022
Merged

Allow #[unstable] impls for fn() with unstable abi.#103239
bors merged 5 commits into
rust-lang:masterfrom
m-ou-se:unstable-abi-fn-impl-check

Conversation

@m-ou-se

Copy link
Copy Markdown
Member

This allows #[unstable] trait impls for extern "unwind-C" fn(), based on the fact that that abi and therefore that type is unstable.

See #101263 (comment)

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @petrochenkov

(rust-highfive has picked a reviewer for you, use r? to override)

@rustbotrustbot added A-testsuite Area: The testsuite used to check the correctness of rustc T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 19, 2022
@rust-highfive

Copy link
Copy Markdown
Contributor

⚠️Warning⚠️

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 19, 2022
Comment threadcompiler/rustc_passes/src/stability.rs Outdated
@lcnr

lcnr commented Oct 19, 2022

Copy link
Copy Markdown
Contributor

r? @lcnr

after dealing with function pointers and !, r=me

@lcnr

lcnr commented Oct 19, 2022

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Oct 19, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit c4f829b has been approved by lcnr

It is now in the queue for this repository.

@borsbors 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 Oct 19, 2022
@Dylan-DPCDylan-DPC mentioned this pull request Oct 19, 2022
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Oct 19, 2022
…, r=lcnr
Allow #[unstable] impls for fn() with unstable abi.
This allows `#[unstable]` trait impls for `extern "unwind-C" fn()`, based on the fact that that abi and therefore that type is unstable.
See rust-lang#101263 (comment)
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 19, 2022
…iaskrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#103211 (rustdoc: remove class name `location` from sidebar sibling nav)
- rust-lang#103223 (Use already checked RHS ty for LHS deref suggestions)
- rust-lang#103237 (Clean up codeblock-tooltip rustdoc-gui test)
- rust-lang#103239 (Allow #[unstable] impls for fn() with unstable abi.)
- rust-lang#103246 (Mark `rust-analyzer` as a host-only tool)
- rust-lang#103257 (rustdoc: move `setting-line` color CSS to settings.css)
- rust-lang#103258 (Make miri read_dir test a little more robust)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 12775ce into rust-lang:masterOct 20, 2022
@rustbotrustbot added this to the 1.66.0 milestone Oct 20, 2022
@m-ou-se
m-ou-se deleted the unstable-abi-fn-impl-check branch October 20, 2022 10:16
Aaron1011 pushed a commit to Aaron1011/rust that referenced this pull request Jan 6, 2023
…iaskrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#103211 (rustdoc: remove class name `location` from sidebar sibling nav)
- rust-lang#103223 (Use already checked RHS ty for LHS deref suggestions)
- rust-lang#103237 (Clean up codeblock-tooltip rustdoc-gui test)
- rust-lang#103239 (Allow #[unstable] impls for fn() with unstable abi.)
- rust-lang#103246 (Mark `rust-analyzer` as a host-only tool)
- rust-lang#103257 (rustdoc: move `setting-line` color CSS to settings.css)
- rust-lang#103258 (Make miri read_dir test a little more robust)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-testsuiteArea: The testsuite used to check the correctness of rustcS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@m-ou-se@rust-highfive@lcnr@bors@petrochenkov@rustbot