File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -1150,9 +1150,18 @@ The 2021 edition will set the default [resolver version] to "2".
1150
1150
* RFC: [ #2834 ] ( https://github.com/rust-lang/rfcs/blob/master/text/2834-cargo-report-future-incompat.md )
1151
1151
* rustc Tracking Issue: [ #71249 ] ( https://github.com/rust-lang/rust/issues/71249 )
1152
1152
1153
- The ` -Z future-incompat-report ` flag enables the creation of a future-incompat report
1154
- for all dependencies. This makes users aware if any of their crate's dependencies
1155
- might stop compiling with a future version of Rust.
1153
+ The ` -Z future-incompat-report ` flag causes Cargo to check for
1154
+ future-incompatible warnings in all dependencies. These are warnings for
1155
+ changes that may become hard errors in the future, causing the dependency to
1156
+ stop building in a future version of rustc. If any warnings are found, a small
1157
+ notice is displayed indicating that the warnings were found, and provides
1158
+ instructions on how to display a full report.
1159
+
1160
+ A full report can be displayed with the `cargo report future-incompatibilities
1161
+ -Z future-incompat-report --id ID` command, or by running the build again with
1162
+ the ` --future-incompat-report ` flag. The developer should then update their
1163
+ dependencies to a version where the issue is fixed, or work with the
1164
+ developers of the dependencies to help resolve the issue.
1156
1165
1157
1166
### configurable-env
1158
1167
* Original Pull Request: [ #9175 ] ( https://github.com/rust-lang/cargo/pull/9175 )
You can’t perform that action at this time.
0 commit comments