File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ pub fn check_intrinsics(ccx: &CrateContext) {
135
135
136
136
if transmute_restriction. original_from != transmute_restriction. substituted_from {
137
137
span_transmute_size_error ( ccx. sess ( ) , transmute_restriction. span ,
138
- & format ! ( "transmute called on types with potentially different sizes : \
138
+ & format ! ( "transmute called with differently sized types : \
139
139
{} (could be {} bit{}) to {} (could be {} bit{})",
140
140
transmute_restriction. original_from,
141
141
from_type_size as usize ,
@@ -145,7 +145,7 @@ pub fn check_intrinsics(ccx: &CrateContext) {
145
145
if to_type_size == 1 { "" } else { "s" } ) ) ;
146
146
} else {
147
147
span_transmute_size_error ( ccx. sess ( ) , transmute_restriction. span ,
148
- & format ! ( "transmute called on types with different sizes : \
148
+ & format ! ( "transmute called with differently sized types : \
149
149
{} ({} bit{}) to {} ({} bit{})",
150
150
transmute_restriction. original_from,
151
151
from_type_size as usize ,
You can’t perform that action at this time.
0 commit comments