File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -911,11 +911,11 @@ impl<'a> Error<'a> {
911911 labels : vec ! [
912912 (
913913 dest_span,
914- format!( "a value of type {dest_type} is required here" ) . into( ) ,
914+ format!( "a value of type ` {dest_type}` is required here" ) . into( ) ,
915915 ) ,
916916 (
917917 source_span,
918- format!( "this expression has type {source_type}" ) . into( ) ,
918+ format!( "this expression has type ` {source_type}` " ) . into( ) ,
919919 ) ,
920920 ] ,
921921 notes : vec ! [ ] ,
@@ -937,14 +937,14 @@ impl<'a> Error<'a> {
937937 (
938938 dest_span,
939939 format!(
940- "a value with elements of type {} is required here" ,
940+ "a value with elements of type `{}` is required here" ,
941941 dest_scalar
942942 )
943943 . into( ) ,
944944 ) ,
945945 (
946946 source_span,
947- format!( "this expression has type {source_type}" ) . into( ) ,
947+ format!( "this expression has type ` {source_type}` " ) . into( ) ,
948948 ) ,
949949 ] ,
950950 notes : vec ! [ ] ,
You can’t perform that action at this time.
0 commit comments