Skip to content

Commit ac59761

Browse files
committed
fix: Fixed nightly tests failing due to unused_variables lint
1 parent 81c3f77 commit ac59761

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/future_incompat_report.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ fn incompat_in_local_crate() {
7474
[WARNING] unused variable: `x`
7575
...
7676
77-
[WARNING] `foo` (lib) generated 1 warning
77+
[WARNING] `foo` (lib) generated 1 warning[..]
7878
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
7979
[WARNING] the following packages contain code that will be rejected by a future version of Rust: foo v0.0.0 ([ROOT]/foo)
8080
[NOTE] to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
@@ -88,7 +88,7 @@ fn incompat_in_local_crate() {
8888
[WARNING] unused variable: `x`
8989
...
9090
91-
[WARNING] `foo` (lib) generated 1 warning
91+
[WARNING] `foo` (lib) generated 1 warning[..]
9292
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
9393
[WARNING] the following packages contain code that will be rejected by a future version of Rust: foo v0.0.0 ([ROOT]/foo)
9494
[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1`

0 commit comments

Comments
 (0)