File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 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
44use  std:: env; 
55use  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
131131For more information about this error, try `rustc --explain E0308`. 
132132
@@ -2020,7 +2020,7 @@ The original errors are:
202020203 |                     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 
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ fn fixable_and_unfixable() {
66666 |                 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() {
2032031 |  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() {
2132131 |  fn bar() {} 
214214  |     ^^^ 
215215  | 
216-   = [NOTE] `#[warn(dead_code)]` on by default 
216+   = [NOTE] `#[warn(dead_code)]` [..] on by default 
217217
218218
219219"# ] ] ) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments