Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Decouple "reporting in deps" fromFutureIncompatibilityReason#141936

Merged
bors merged 1 commit intorust-lang:masterfrom
WaffleLapkin:report-in-deps-decoupling
Jun 3, 2025
Merged

Decouple "reporting in deps" fromFutureIncompatibilityReason#141936
bors merged 1 commit intorust-lang:masterfrom
WaffleLapkin:report-in-deps-decoupling

Conversation

@WaffleLapkin
Copy link
Member

The reason should just be it -- the reason. It never felt right to me that it was also responsible for whatever we include the warning in cargo's reports.

It gets especially unruly if you want to add non-FutureReleaseError* warnings which are included in the reports.

I just added a field toFutureIncompatibleInfo to control whatever the diagnostic is included in the cargo's reports.

workingjubilee reacted with thumbs up emoji
@rustbot
Copy link
Collaborator

r?@oli-obk

rustbot has assigned@oli-obk.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

User? to explicitly pick a reviewer

@rustbotrustbot added S-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties. T-compilerRelevant to the compiler team, which will review and decide on the PR/issue. labelsJun 2, 2025
Comment on lines 410 to 413
/// After some period of time, lints with this variant can be turned into
/// hard errors (and the lint removed). Preferably when there is some
/// confidence that the number of impacted projects is very small (few
/// should have a broken dependency in their dependency tree).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think this comment should be preserved, potentially mentioningreport_in_deps

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I tried to preserve the meaning of the comment, can you check if I missed something?

@WaffleLapkinWaffleLapkinforce-pushed thereport-in-deps-decoupling branch frome04270f to9b7da4dCompareJune 3, 2025 08:49
@oli-obk
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Collaborator

bors commentedJun 3, 2025

📌 Commit9b7da4d has been approved byoli-obk

It is now in thequeue for this repository.

@borsbors added S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties. labelsJun 3, 2025
bors added a commit that referenced this pull requestJun 3, 2025
Rollup of 9 pull requestsSuccessful merges: -#141554 (Improve documentation for codegen options) -#141817 (rustc_llvm: add Windows system libs only when cross-compiling from Wi…) -#141843 (Add `visit_id` to ast `Visitor`) -#141881 (Subtree update of `rust-analyzer`) -#141898 ([rustdoc-json] Implement PartialOrd and Ord for rustdoc_types::Id) -#141921 (Disable f64 minimum/maximum tests for arm 32) -#141930 (Enable triagebot `[concern]` functionality) -#141936 (Decouple "reporting in deps" from `FutureIncompatibilityReason`) -#141949 (move `test-float-parse` tool into `src/tools` dir)r? `@ghost``@rustbot` modify labels: rollup
@borsbors merged commit7100905 intorust-lang:masterJun 3, 2025
10 checks passed
@rustbotrustbot added this to the1.89.0 milestoneJun 3, 2025
rust-timer added a commit that referenced this pull requestJun 3, 2025
Rollup merge of#141936 - WaffleLapkin:report-in-deps-decoupling, r=oli-obkDecouple "reporting in deps" from `FutureIncompatibilityReason`The reason should just be it -- the reason. It never felt right to me that it was also responsible for whatever we include the warning in cargo's reports.It gets especially unruly if you want to add non-`FutureReleaseError*` warnings which are included in the reports.I just added a field to `FutureIncompatibleInfo` to control whatever the diagnostic is included in the cargo's reports.
@WaffleLapkinWaffleLapkin deleted the report-in-deps-decoupling branchJune 3, 2025 18:01
@bjorn3bjorn3 mentioned this pull requestJun 5, 2025
lnicola pushed a commit to lnicola/rust-analyzer that referenced this pull requestJun 9, 2025
Rollup of 9 pull requestsSuccessful merges: -rust-lang/rust#141554 (Improve documentation for codegen options) -rust-lang/rust#141817 (rustc_llvm: add Windows system libs only when cross-compiling from Wi…) -rust-lang/rust#141843 (Add `visit_id` to ast `Visitor`) -rust-lang/rust#141881 (Subtree update of `rust-analyzer`) -rust-lang/rust#141898 ([rustdoc-json] Implement PartialOrd and Ord for rustdoc_types::Id) -rust-lang/rust#141921 (Disable f64 minimum/maximum tests for arm 32) -rust-lang/rust#141930 (Enable triagebot `[concern]` functionality) -rust-lang/rust#141936 (Decouple "reporting in deps" from `FutureIncompatibilityReason`) -rust-lang/rust#141949 (move `test-float-parse` tool into `src/tools` dir)r? `@ghost``@rustbot` modify labels: rollup
fmease added a commit to fmease/rust that referenced this pull requestJun 15, 2025
… r=oli-obk,traviscrossReport never type lints in dependenciesThis PR marks never type lints (`never_type_fallback_flowing_into_unsafe` & `dependency_on_unit_never_type_fallback`) to be included in cargo's reports / to be emitted when they happen in dependencies.This PR is based onrust-lang#141936r? oli-obk
fmease added a commit to fmease/rust that referenced this pull requestJun 15, 2025
… r=oli-obk,traviscrossReport never type lints in dependenciesThis PR marks never type lints (`never_type_fallback_flowing_into_unsafe` & `dependency_on_unit_never_type_fallback`) to be included in cargo's reports / to be emitted when they happen in dependencies.This PR is based onrust-lang#141936r? oli-obk
rust-timer added a commit that referenced this pull requestJun 16, 2025
Rollup merge of#141937 - WaffleLapkin:never-report-in-deps, r=oli-obk,traviscrossReport never type lints in dependenciesThis PR marks never type lints (`never_type_fallback_flowing_into_unsafe` & `dependency_on_unit_never_type_fallback`) to be included in cargo's reports / to be emitted when they happen in dependencies.This PR is based on#141936r? oli-obk
tautschnig pushed a commit to model-checking/verify-rust-std that referenced this pull requestJun 17, 2025
…iaskrgrRollup of 9 pull requestsSuccessful merges: -rust-lang#141554 (Improve documentation for codegen options) -rust-lang#141817 (rustc_llvm: add Windows system libs only when cross-compiling from Wi…) -rust-lang#141843 (Add `visit_id` to ast `Visitor`) -rust-lang#141881 (Subtree update of `rust-analyzer`) -rust-lang#141898 ([rustdoc-json] Implement PartialOrd and Ord for rustdoc_types::Id) -rust-lang#141921 (Disable f64 minimum/maximum tests for arm 32) -rust-lang#141930 (Enable triagebot `[concern]` functionality) -rust-lang#141936 (Decouple "reporting in deps" from `FutureIncompatibilityReason`) -rust-lang#141949 (move `test-float-parse` tool into `src/tools` dir)r? `@ghost``@rustbot` modify labels: rollup
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@oli-obkoli-obkoli-obk left review comments

Assignees

@oli-obkoli-obk

Labels

S-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

Milestone

1.89.0

Development

Successfully merging this pull request may close these issues.

4 participants

@WaffleLapkin@rustbot@oli-obk@bors

[8]ページ先頭

©2009-2026 Movatter.jp