Skip to content

Commit 93532af

Browse files
committed
Tried to add text addressing alex's concern about our policy for when these get turned on.
1 parent 4a737c4 commit 93532af

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

text/0000-cargo-report-future-incompat.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,19 @@ lint currently categorized as `C-future-incompatility` on the Rust repo.
480480
That decision is a policy matter for the relevant teams,
481481
and the form of such policy is out of scope for this RFC.
482482

483+
Whatever form that policy takes, it is worth noting: Users who encounter
484+
upstream future-incompatibility issues may have neither free time nor external
485+
development resources to draw upon. The rustc developers need to take some care
486+
in deciding *when* a future-incompatibility lint should start being reported via
487+
this mechanism.
488+
489+
* If our primary goal is to minimize user frustration with our tools and
490+
ecosystem, then future-incompatibility reporting for a given lint should be
491+
turned only after much of the crate ecosystem have new fixed versions. In
492+
other words, we should strive for a steady-state where the typical user
493+
response to a future-incompatibility report is that user then runs
494+
`cargo update`, or they ask for a (pre-existing) PR to be merged.
495+
483496
# Drawbacks
484497
[drawbacks]: #drawbacks
485498

0 commit comments

Comments
 (0)