-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stabilize future-incompat-report #10165
Merged
Merged
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
997bf3f
Stabilize future-incompat-report
Aaron1011 c2332dc
Detect if rustc supports '--json future-incompat'
Aaron1011 8c7c35e
Update docs
Aaron1011 365cae3
Fix detection of `--json future-incompat`
Aaron1011 a717196
Improve documentation and add [future-incompat-report] config section
Aaron1011 4fcf5ca
Adjust `[future-incompat-report]` docs
Aaron1011 673b15d
Add CARGO_FUTURE_INCOMPAT_REPORT_FREQUENCY to environment variables
Aaron1011 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# cargo-report(1) | ||
|
||
## NAME | ||
|
||
cargo-report - Generate and display various kinds of reports | ||
|
||
## SYNOPSIS | ||
|
||
`cargo report` _type_ [_options_] | ||
|
||
### DESCRIPTION | ||
|
||
Displays a report of the given _type_ - currently, only `future-incompat` is supported | ||
|
||
## OPTIONS | ||
|
||
{{#options}} | ||
|
||
{{#option "`--id` _id_" }} | ||
Show the report with the specified Cargo-generated id | ||
{{/option}} | ||
|
||
{{#option "`-p` _spec_..." "`--package` _spec_..." }} | ||
Only display a report for the specified package | ||
{{/option}} | ||
|
||
{{/options}} | ||
|
||
## EXAMPLES | ||
|
||
1. Display the latest future-incompat report: | ||
|
||
cargo report future-incompat | ||
|
||
2. Display the latest future-incompat report for a specific package: | ||
|
||
cargo report future-incompat --package my-dep:0.0.1 | ||
|
||
## SEE ALSO | ||
[Future incompat report](../reference/future-incompat-report.html) | ||
|
||
{{man "cargo" 1}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
CARGO-REPORT(1) | ||
|
||
NAME | ||
cargo-report - Generate and display various kinds of reports | ||
|
||
SYNOPSIS | ||
cargo report type [options] | ||
|
||
DESCRIPTION | ||
Displays a report of the given type - currently, only future-incompat is | ||
supported | ||
|
||
OPTIONS | ||
--id id | ||
Show the report with the specified Cargo-generated id | ||
|
||
-p spec..., --package spec... | ||
Only display a report for the specified package | ||
|
||
EXAMPLES | ||
1. Display the latest future-incompat report: | ||
|
||
cargo report future-incompat | ||
|
||
2. Display the latest future-incompat report for a specific package: | ||
|
||
cargo report future-incompat --package my-dep:0.0.1 | ||
|
||
SEE ALSO | ||
Future incompat report | ||
<https://doc.rust-lang.org/cargo/reference/future-incompat-report.html> | ||
|
||
cargo(1) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{{#option "`--future-incompat-report`"}} | ||
Displays a future-incompat report for any future-incompatible warnings | ||
produced during execution of this command | ||
|
||
See {{man "cargo-report" 1}} | ||
{{/option}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this include a link to the new future-incompat chapter? IIRC, just a relative link like
[foo](../reference/future-incompat-report.html)
should.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a link in the "See also" section