Skip to content

Conversation

Urgau
Copy link
Member

@Urgau Urgau commented Mar 6, 2024

T-lang decided in their triage meeting to try to use a better logic for detecting non-local impl definitions given the numerous reports we got.

Until that is done and also because the beta cut is next week, switch the lint to allow-by-default until it's implemented.

r? @WaffleLapkin

@rustbot rustbot added 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 Mar 6, 2024
@fmease fmease added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Mar 6, 2024
@WaffleLapkin
Copy link
Member

r=me with green CI
@bors delegate+

@bors
Copy link
Collaborator

bors commented Mar 6, 2024

✌️ @Urgau, you can now approve this pull request!

If @WaffleLapkin told you to "r=me" after making some further change, please make that change, then do @bors r=@WaffleLapkin

@rust-log-analyzer

This comment has been minimized.

@Urgau Urgau force-pushed the non_local_def-allow branch from 6dab6fb to 6fc45b8 Compare March 6, 2024 21:25
@Urgau
Copy link
Member Author

Urgau commented Mar 6, 2024

@bors r=@WaffleLapkin

@bors
Copy link
Collaborator

bors commented Mar 6, 2024

📌 Commit 6fc45b8 has been approved by WaffleLapkin

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 Mar 6, 2024
@Urgau
Copy link
Member Author

Urgau commented Mar 6, 2024

@fmease I'm removing the beta-nominated label, as the lint landed in 1.78 and as far as I can see we are still in 1.78.

@rustbot label -beta-nominated

@rustbot rustbot removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Mar 6, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 7, 2024
…iaskrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#122015 (Add better explanation for `rustc_index::IndexVec`)
 - rust-lang#122061 (Clarify FatalErrorHandler)
 - rust-lang#122062 (Explicitly assign constructed C++ classes)
 - rust-lang#122072 (Refer to "slice" instead of "vector" in Ord and PartialOrd trait impl of slices)
 - rust-lang#122088 (Remove unnecessary fixme on new thread stack size)
 - rust-lang#122094 (Remove outdated footnote "missing-stack-probe" in platform-support)
 - rust-lang#122107 (Temporarily make allow-by-default the `non_local_definitions` lint)
 - rust-lang#122109 (compiletest: Add a `//@ needs-threads` directive)

Failed merges:

 - rust-lang#122104 (Rust is a proper name: rust → Rust)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 1d4360a into rust-lang:master Mar 7, 2024
@rustbot rustbot added this to the 1.78.0 milestone Mar 7, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Mar 7, 2024
Rollup merge of rust-lang#122107 - Urgau:non_local_def-allow, r=WaffleLapkin

Temporarily make allow-by-default the `non_local_definitions` lint

T-lang [decided in their triage meeting](https://hackmd.io/U-CKiZx_RKiaANAPXtWf7g#non_local_definitions-common-issues-impl-for-ampLocal-FromltLocalgt-for-Global-%E2%80%A6-rust121621) to try to use a [better logic](rust-lang#121621 (comment)) for detecting non-local `impl` definitions given the [numerous reports](rust-lang#121621) we got.

Until that is done and also because the beta cut is next week, switch the lint to allow-by-default until it's implemented.

r? `@WaffleLapkin`
@Urgau Urgau mentioned this pull request Mar 30, 2024
@jieyouxu jieyouxu added the L-non_local_definitions Lint: non_local_definitions label May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L-non_local_definitions Lint: non_local_definitions 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants