@@ -94,8 +94,8 @@ struct G {
9494
9595#[ derive( Subdiagnostic ) ]
9696#[ label( "..." ) ]
97- //~^ ERROR failed to resolve: use of unresolved module or unlinked crate `core`
98- //~| NOTE use of unresolved module or unlinked crate `core`
97+ //~^ ERROR failed to resolve: you might be missing crate `core`
98+ //~| NOTE you might be missing crate `core`
9999struct H {
100100 #[ primary_span]
101101 span : Span ,
@@ -310,8 +310,8 @@ struct AB {
310310
311311#[ derive( Subdiagnostic ) ]
312312union AC {
313- //~^ ERROR failed to resolve: use of unresolved module or unlinked crate `core`
314- //~| NOTE use of unresolved module or unlinked crate `core`
313+ //~^ ERROR failed to resolve: you might be missing crate `core`
314+ //~| NOTE you might be missing crate `core`
315315 span : u32 ,
316316 b : u64 ,
317317}
@@ -581,8 +581,8 @@ struct BD {
581581 span2 : Span ,
582582 #[ suggestion_part( foo = "bar" ) ]
583583 //~^ ERROR `code` is the only valid nested attribute
584- //~| ERROR failed to resolve: use of unresolved module or unlinked crate `core`
585- //~| NOTE use of unresolved module or unlinked crate `core`
584+ //~| ERROR failed to resolve: you might be missing crate `core`
585+ //~| NOTE you might be missing crate `core`
586586 span4 : Span ,
587587 #[ suggestion_part( code = "..." ) ]
588588 //~^ ERROR the `#[suggestion_part(...)]` attribute can only be applied to fields of type `Span` or `MultiSpan`
@@ -674,8 +674,8 @@ enum BL {
674674struct BM {
675675 #[ suggestion_part( code( "foo" ) ) ]
676676 //~^ ERROR expected exactly one string literal for `code = ...`
677- //~| ERROR failed to resolve: use of unresolved module or unlinked crate `core`
678- //~| NOTE use of unresolved module or unlinked crate `core`
677+ //~| ERROR failed to resolve: you might be missing crate `core`
678+ //~| NOTE you might be missing crate `core`
679679 span : Span ,
680680 r#type : String ,
681681}
@@ -685,8 +685,8 @@ struct BM {
685685struct BN {
686686 #[ suggestion_part( code( "foo" , "bar" ) ) ]
687687 //~^ ERROR expected exactly one string literal for `code = ...`
688- //~| ERROR failed to resolve: use of unresolved module or unlinked crate `core`
689- //~| NOTE use of unresolved module or unlinked crate `core`
688+ //~| ERROR failed to resolve: you might be missing crate `core`
689+ //~| NOTE you might be missing crate `core`
690690 span : Span ,
691691 r#type : String ,
692692}
@@ -696,8 +696,8 @@ struct BN {
696696struct BO {
697697 #[ suggestion_part( code( 3 ) ) ]
698698 //~^ ERROR expected exactly one string literal for `code = ...`
699- //~| ERROR failed to resolve: use of unresolved module or unlinked crate `core`
700- //~| NOTE use of unresolved module or unlinked crate `core`
699+ //~| ERROR failed to resolve: you might be missing crate `core`
700+ //~| NOTE you might be missing crate `core`
701701 span : Span ,
702702 r#type : String ,
703703}
@@ -718,8 +718,8 @@ struct BP {
718718#[ multipart_suggestion( no_crate_example) ]
719719struct BQ {
720720 #[ suggestion_part( code = 3 ) ]
721- //~^ ERROR failed to resolve: use of unresolved module or unlinked crate `core`
722- //~| NOTE use of unresolved module or unlinked crate `core`
721+ //~^ ERROR failed to resolve: you might be missing crate `core`
722+ //~| NOTE you might be missing crate `core`
723723 span : Span ,
724724 r#type : String ,
725725}
@@ -811,8 +811,8 @@ struct SuggestionStyleInvalid3 {
811811#[ derive( Subdiagnostic ) ]
812812#[ suggestion( no_crate_example, code = "" , style( "foo" ) ) ]
813813//~^ ERROR expected `= "xxx"`
814- //~| ERROR failed to resolve: use of unresolved module or unlinked crate `core`
815- //~| NOTE use of unresolved module or unlinked crate `core`
814+ //~| ERROR failed to resolve: you might be missing crate `core`
815+ //~| NOTE you might be missing crate `core`
816816struct SuggestionStyleInvalid4 {
817817 #[ primary_span]
818818 sub : Span ,
0 commit comments