@@ -327,21 +327,11 @@ fn fix_overlapping_max() {
327327 |_execs| { } ,
328328 str![ [ r#"
329329[CHECKING] foo v0.0.1 ([ROOT]/foo)
330- [WARNING] error applying suggestions to `src/lib.rs`
331-
332- The full error message was:
333-
334- > cannot replace slice of data that was already replaced
335-
336- This likely indicates a bug in either rustc or cargo itself,
337- and we would appreciate a bug report! You're likely to see
338- a number of compiler warnings after this message which cargo
339- attempted to fix but failed. If you could open an issue at
340- https://github.com/rust-lang/rust/issues
341- quoting the full output of this command we'd be very appreciative!
342- Note that you may be able to make some more progress in the near-term
343- fixing code with the `--broken-code` flag
344-
330+ [ERROR] error applying suggestions
331+ --> src/lib.rs
332+ = cause: cannot replace slice of data that was already replaced
333+ [HELP] to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
334+ [HELP] to possibly apply more fixes, pass in the `--broken-code` flag
345335[FIXED] src/lib.rs (4 fixes)
346336rustc fix shim comment 5
347337rustc fix shim comment 6
@@ -362,25 +352,12 @@ fn fix_verification_failed() {
362352 |_execs| { } ,
363353 str![ [ r#"
364354[CHECKING] foo v0.0.1 ([ROOT]/foo)
365- [WARNING] failed to automatically apply fixes suggested by rustc to crate `foo`
366-
367- after fixes were automatically applied the compiler reported errors within these files:
368-
369- * src/lib.rs
370-
371- This likely indicates a bug in either rustc or cargo itself,
372- and we would appreciate a bug report! You're likely to see
373- a number of compiler warnings after this message which cargo
374- attempted to fix but failed. If you could open an issue at
375- https://github.com/rust-lang/rust/issues
376- quoting the full output of this command we'd be very appreciative!
377- Note that you may be able to make some more progress in the near-term
378- fixing code with the `--broken-code` flag
379-
380- The following errors were reported:
381- rustc fix shim error count=2
382- Original diagnostics will follow.
383-
355+ [ERROR] errors present after applying fixes to crate `foo`
356+ --> src/lib.rs
357+ = cause: rustc fix shim error count=2
358+ [HELP] to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
359+ [HELP] to possibly apply more fixes, pass in the `--broken-code` flag
360+ [NOTE] original diagnostics will follow:
384361rustc fix shim comment 1
385362[WARNING] `foo` (lib) generated 1 warning (run `cargo fix --lib -p foo` to apply 1 suggestion)
386363[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -402,25 +379,12 @@ fn fix_verification_failed_clippy() {
402379 } ,
403380 str![ [ r#"
404381[CHECKING] foo v0.0.1 ([ROOT]/foo)
405- [WARNING] failed to automatically apply fixes suggested by rustc to crate `foo`
406-
407- after fixes were automatically applied the compiler reported errors within these files:
408-
409- * src/lib.rs
410-
411- This likely indicates a bug in either rustc or cargo itself,
412- and we would appreciate a bug report! You're likely to see
413- a number of compiler warnings after this message which cargo
414- attempted to fix but failed. If you could open an issue at
415- https://github.com/rust-lang/rust-clippy/issues
416- quoting the full output of this command we'd be very appreciative!
417- Note that you may be able to make some more progress in the near-term
418- fixing code with the `--broken-code` flag
419-
420- The following errors were reported:
421- rustc fix shim error count=2
422- Original diagnostics will follow.
423-
382+ [ERROR] errors present after applying fixes to crate `foo`
383+ --> src/lib.rs
384+ = cause: rustc fix shim error count=2
385+ [HELP] to report this as a bug, open an issue at https://github.com/rust-lang/rust-clippy/issues, quoting the full output of this command
386+ [HELP] to possibly apply more fixes, pass in the `--broken-code` flag
387+ [NOTE] original diagnostics will follow:
424388rustc fix shim comment 1
425389[WARNING] `foo` (lib) generated 1 warning (run `cargo clippy --fix --lib -p foo` to apply 1 suggestion)
426390[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -493,25 +457,12 @@ fn broken_code_one_suggestion() {
493457 } ,
494458 str![ [ r#"
495459[CHECKING] foo v0.0.1 ([ROOT]/foo)
496- [WARNING] failed to automatically apply fixes suggested by rustc to crate `foo`
497-
498- after fixes were automatically applied the compiler reported errors within these files:
499-
500- * src/lib.rs
501-
502- This likely indicates a bug in either rustc or cargo itself,
503- and we would appreciate a bug report! You're likely to see
504- a number of compiler warnings after this message which cargo
505- attempted to fix but failed. If you could open an issue at
506- https://github.com/rust-lang/rust/issues
507- quoting the full output of this command we'd be very appreciative!
508- Note that you may be able to make some more progress in the near-term
509- fixing code with the `--broken-code` flag
510-
511- The following errors were reported:
512- rustc fix shim error count=2
513- Original diagnostics will follow.
514-
460+ [ERROR] errors present after applying fixes to crate `foo`
461+ --> src/lib.rs
462+ = cause: rustc fix shim error count=2
463+ [HELP] to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
464+ [HELP] to possibly apply more fixes, pass in the `--broken-code` flag
465+ [NOTE] original diagnostics will follow:
515466rustc fix shim comment 1
516467rustc fix shim error count=2
517468[WARNING] `foo` (lib) generated 1 warning
0 commit comments