Skip to content

Commit e165cec

Browse files
authored
Merge pull request #83 from Pyr0de/nightly
test: Matching nightly output
2 parents 8b27379 + 6c27e40 commit e165cec

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/testsuite/fix.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Tests for the `cargo fix` command.
2-
//! <https://github.com/rust-lang/cargo/blob/930b4f62cfcd1f0eabdb30a56d91bf6844b739bf/tests/testsuite/fix.rs>
2+
//! <https://github.com/rust-lang/cargo/blob/12fa1daac8e5c05578c673f50a622bfd52859d01/tests/testsuite/fix.rs>
33
44
use std::env;
55
use std::path::{Path, PathBuf};
@@ -126,7 +126,7 @@ error[E0308]: mismatched types
126126
| |
127127
| [HELP] remove this `mut`
128128
|
129-
= [NOTE] `#[warn(unused_mut)]` on by default
129+
= [NOTE] `#[warn(unused_mut)]` [..]on by default
130130
131131
For more information about this error, try `rustc --explain E0308`.
132132
@@ -2020,7 +2020,7 @@ The original errors are:
20202020
3 | let mut x = 1;
20212021
| ^ [HELP] if this is intentional, prefix it with an underscore: `_x`
20222022
|
2023-
= [NOTE] `#[warn(unused_variables)]` on by default
2023+
= [NOTE] `#[warn(unused_variables)]` [..]on by default
20242024
20252025
[WARNING] variable does not need to be mutable
20262026
--> src/lib.rs:3:25
@@ -2030,7 +2030,7 @@ The original errors are:
20302030
| |
20312031
| [HELP] remove this `mut`
20322032
|
2033-
= [NOTE] `#[warn(unused_mut)]` on by default
2033+
= [NOTE] `#[warn(unused_mut)]` [..]on by default
20342034
20352035
20362036
[NOTE] try using `--broken-code` to fix errors

tests/testsuite/fixit.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ fn fixable_and_unfixable() {
6666
6 | let c = 10;
6767
| ^ [HELP] if this is intentional, prefix it with an underscore: `_c`
6868
|
69-
= [NOTE] `#[warn(unused_variables)]` on by default
69+
= [NOTE] `#[warn(unused_variables)]` [..]on by default
7070
7171
7272
"#]])
@@ -203,7 +203,7 @@ fn print_errors_after_fixed() {
203203
1 | fn bar() {}
204204
| ^^^
205205
|
206-
= [NOTE] `#[warn(dead_code)]` on by default
206+
= [NOTE] `#[warn(dead_code)]` [..]on by default
207207
208208
[CHECKING] a v0.1.0
209209
[FIXED] a/src/lib.rs (1 fix)
@@ -213,7 +213,7 @@ fn print_errors_after_fixed() {
213213
1 | fn bar() {}
214214
| ^^^
215215
|
216-
= [NOTE] `#[warn(dead_code)]` on by default
216+
= [NOTE] `#[warn(dead_code)]` [..]on by default
217217
218218
219219
"#]])

0 commit comments

Comments
 (0)