Skip to content

Commit c862283

Browse files
committed
Add note about rustc --json CONFIG to the implementation questions section.
1 parent 6e1bb2d commit c862283

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,12 @@ I have not explicitly addressed nor seriously investigated this.
584584

585585
* Is using `--error-format=json` as the way to switch `rustc` into the future-incompatibility checking mode reasonable?
586586

587+
* An variant on the strategy:
588+
we could use the `--json CONFIG` option to `rustrc` as a way for
589+
`cargo` to opt into the feature.
590+
This way, clients already using `--error-format=json`
591+
would not need to know abot this change.
592+
587593
# Future possibilities
588594
[future-possibilities]: #future-possibilities
589595

0 commit comments

Comments
 (0)