You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of rust-lang#86478 - ehuss:future-incompat-test, r=oli-obk
Add -Zfuture-incompat-test to assist with testing future-incompat reports.
This adds a `-Zfuture-incompat-test` cli flag to assist with testing future-incompatible reports. This flag causes all lints to be treated as a future-incompatible lint, and will emit a report for them. This is being added so that Cargo's testsuite can reliably test the reporting infrastructure. Right now, Cargo relies on using array_into_iter as a test subject. Since the breaking "future incompatible" lints are never intended to last forever, this means Cargo's testsuite would always need to keep changing to choose different lints (for example, rust-lang#86330 proposed dropping that moniker for array_into_iter). With this flag, Cargo's tests can trigger any lint and check for the report.
warning: using an old version of `time-macros-impl`
86
86
--> $DIR/time-macros-impl/src/lib.rs:5:32
87
87
|
@@ -99,7 +99,7 @@ LL | impl_macros!(Foo);
99
99
= note: the `time-macros-impl` crate will stop compiling in futures version of Rust. Please update to the latest version of the `time` crate to avoid breakage
100
100
= note: this warning originates in the macro `impl_macros` (in Nightly builds, run with -Z macro-backtrace for more info)
101
101
102
-
Future breakage date: None, diagnostic:
102
+
Future breakage diagnostic:
103
103
warning: using an old version of `time-macros-impl`
104
104
--> $DIR/time-macros-impl-0.1.0/src/lib.rs:5:32
105
105
|
@@ -116,7 +116,7 @@ LL | impl_macros!(Foo);
116
116
= note: the `time-macros-impl` crate will stop compiling in futures version of Rust. Please update to the latest version of the `time` crate to avoid breakage
117
117
= note: this warning originates in the macro `impl_macros` (in Nightly builds, run with -Z macro-backtrace for more info)
118
118
119
-
Future breakage date: None, diagnostic:
119
+
Future breakage diagnostic:
120
120
warning: using an old version of `js-sys`
121
121
--> $DIR/js-sys-0.3.17/src/lib.rs:5:32
122
122
|
@@ -133,7 +133,7 @@ LL | arrays!(Foo);
133
133
= note: older versions of the `js-sys` crate will stop compiling in future versions of Rust; please update to `js-sys` v0.3.40 or above
134
134
= note: this warning originates in the macro `arrays` (in Nightly builds, run with -Z macro-backtrace for more info)
135
135
136
-
Future breakage date: None, diagnostic:
136
+
Future breakage diagnostic:
137
137
warning: using an old version of `actix-web`
138
138
--> $DIR/actix-web/src/extract.rs:5:34
139
139
|
@@ -150,7 +150,7 @@ LL | tuple_from_req!(Foo);
150
150
= note: the version of `actix-web` you are using might stop compiling in future versions of Rust; please update to the latest version of the `actix-web` crate to avoid breakage
151
151
= note: this warning originates in the macro `tuple_from_req` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments