@@ -539,9 +539,11 @@ fn suggestions_for_updates() {
539539 . publish ( ) ;
540540 Package :: new ( "big_update" , "1.0.0" )
541541 . file ( "src/lib.rs" , FUTURE_EXAMPLE )
542+ . dep ( "with_updates" , "1.0.0" )
542543 . publish ( ) ;
543544 Package :: new ( "without_updates" , "1.0.0" )
544545 . file ( "src/lib.rs" , FUTURE_EXAMPLE )
546+ . dep ( "big_update" , "1.0.0" )
545547 . publish ( ) ;
546548
547549 let p = project ( )
@@ -575,6 +577,7 @@ fn suggestions_for_updates() {
575577 . publish ( ) ;
576578 Package :: new ( "big_update" , "2.0.0" )
577579 . file ( "src/lib.rs" , "" )
580+ . dep ( "with_updates" , "1.0.0" )
578581 . publish ( ) ;
579582
580583 // This is a hack to force cargo to update the index. Cargo can't do this
@@ -610,7 +613,6 @@ You may want to consider updating them to a newer version to see if the issue ha
610613big_update v1.0.0 has the following newer versions available: 2.0.0
611614with_updates v1.0.0 has the following newer versions available: 1.0.1, 1.0.2, 3.0.1
612615
613-
614616- If the issue is not solved by updating the dependencies, a fix has to be
615617implemented by those dependencies. You can help with that by notifying the
616618maintainers of this problem (e.g. by creating a bug report) or by proposing a
@@ -632,9 +634,10 @@ fix to the maintainers (e.g. by creating a pull request):
632634section in `Cargo.toml` to use your own version of the dependency. For more
633635information, see:
634636https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
637+
635638[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1`
636639
637- "# ] ] . unordered ( ) )
640+ "# ] ] )
638641 . run ( ) ;
639642
640643 p. cargo ( "report future-incompatibilities" )
0 commit comments