@@ -239,7 +239,7 @@ fn render_report(per_package_reports: &[FutureIncompatReportPackage]) -> BTreeMa
239
239
) ;
240
240
let rendered = report. entry ( package_spec) . or_default ( ) ;
241
241
rendered. push_str ( & format ! (
242
- "The package `{}` currently triggers the following future incompatibility lints:\n " ,
242
+ "The package `{}` currently triggers the following future incompatibility lints:\n " ,
243
243
per_package. package_id
244
244
) ) ;
245
245
for item in & per_package. items {
@@ -359,7 +359,6 @@ pub fn save_and_display_report(
359
359
} ;
360
360
let report_id = current_reports. next_id ;
361
361
362
-
363
362
// Get a list of unique and sorted package name/versions.
364
363
let package_ids: BTreeSet < _ > = per_package_future_incompat_reports
365
364
. iter ( )
@@ -409,10 +408,10 @@ You may want to consider updating them to a newer version to see if the issue ha
409
408
)
410
409
} )
411
410
. collect :: < Vec < _ > > ( )
412
- . join ( "\n " ) ;
411
+ . join ( "\n " ) ;
413
412
414
413
let suggestion_message = format ! (
415
- "
414
+ "
416
415
To solve this problem, you can try the following approaches:
417
416
418
417
{update_message}
@@ -427,11 +426,10 @@ section in `Cargo.toml` to use your own version of the dependency. For more
427
426
information, see:
428
427
https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
429
428
" ,
430
- upstream_info = upstream_info,
431
- update_message = update_message,
429
+ upstream_info = upstream_info,
430
+ update_message = update_message,
432
431
) ;
433
432
434
-
435
433
current_reports. save_report (
436
434
bcx. ws ,
437
435
suggestion_message. clone ( ) ,
0 commit comments