@@ -539,9 +539,11 @@ fn suggestions_for_updates() {
539
539
. publish ( ) ;
540
540
Package :: new ( "big_update" , "1.0.0" )
541
541
. file ( "src/lib.rs" , FUTURE_EXAMPLE )
542
+ . dep ( "with_updates" , "1.0.0" )
542
543
. publish ( ) ;
543
544
Package :: new ( "without_updates" , "1.0.0" )
544
545
. file ( "src/lib.rs" , FUTURE_EXAMPLE )
546
+ . dep ( "big_update" , "1.0.0" )
545
547
. publish ( ) ;
546
548
547
549
let p = project ( )
@@ -575,6 +577,7 @@ fn suggestions_for_updates() {
575
577
. publish ( ) ;
576
578
Package :: new ( "big_update" , "2.0.0" )
577
579
. file ( "src/lib.rs" , "" )
580
+ . dep ( "with_updates" , "1.0.0" )
578
581
. publish ( ) ;
579
582
580
583
// 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
610
613
big_update v1.0.0 has the following newer versions available: 2.0.0
611
614
with_updates v1.0.0 has the following newer versions available: 1.0.1, 1.0.2, 3.0.1
612
615
613
-
614
616
- If the issue is not solved by updating the dependencies, a fix has to be
615
617
implemented by those dependencies. You can help with that by notifying the
616
618
maintainers 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):
632
634
section in `Cargo.toml` to use your own version of the dependency. For more
633
635
information, see:
634
636
https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
637
+
635
638
[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1`
636
639
637
- "# ] ] . unordered ( ) )
640
+ "# ] ] )
638
641
. run ( ) ;
639
642
640
643
p. cargo ( "report future-incompatibilities" )
0 commit comments