File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ impl<'ctx> IR2LLVMCodeGenContext<'ctx> {
437437 . unwrap ( ) ;
438438 } else {
439439 return Err ( CodeGenError {
440- message : "wrong type defination " . to_string ( ) ,
440+ message : "wrong type definition " . to_string ( ) ,
441441 } ) ;
442442 }
443443 } else {
@@ -446,14 +446,14 @@ impl<'ctx> IR2LLVMCodeGenContext<'ctx> {
446446 } else {
447447 return Err ( CodeGenError {
448448 message :
449- "try to get field from a pointer whose elemet isn't a struct"
449+ "try to get field from a pointer whose element isn't a struct"
450450 . to_string ( ) ,
451451 } ) ;
452452 }
453453 } else {
454454 return Err ( CodeGenError {
455455 message :
456- "try to get field from a pointer whose elemet isn't a pointer"
456+ "try to get field from a pointer whose element isn't a pointer"
457457 . to_string ( ) ,
458458 } ) ;
459459 }
@@ -504,7 +504,7 @@ impl<'ctx> IR2LLVMCodeGenContext<'ctx> {
504504 . unwrap ( ) ;
505505 } else {
506506 return Err ( CodeGenError {
507- message : "wrong type defination " . to_string ( ) ,
507+ message : "wrong type definition " . to_string ( ) ,
508508 } ) ;
509509 }
510510 } else {
You can’t perform that action at this time.
0 commit comments