This repository was archived by the owner on May 28, 2025. It is now read-only.
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 @@ -1031,7 +1031,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
10311031
10321032 let layout = src. layout ( ) ;
10331033 match layout. ty . kind ( ) {
1034- ty:: Uint ( _ ) | ty :: Int ( _) | ty :: RawPtr ( .. ) => { }
1034+ ty:: Int ( _) => { }
10351035 _ => {
10361036 report_atomic_type_validation_error ( fx, intrinsic, source_info. span , layout. ty ) ;
10371037 return Ok ( ( ) ) ;
@@ -1052,7 +1052,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
10521052
10531053 let layout = src. layout ( ) ;
10541054 match layout. ty . kind ( ) {
1055- ty:: Uint ( _) | ty :: Int ( _ ) | ty :: RawPtr ( .. ) => { }
1055+ ty:: Uint ( _) => { }
10561056 _ => {
10571057 report_atomic_type_validation_error ( fx, intrinsic, source_info. span , layout. ty ) ;
10581058 return Ok ( ( ) ) ;
@@ -1073,7 +1073,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
10731073
10741074 let layout = src. layout ( ) ;
10751075 match layout. ty . kind ( ) {
1076- ty:: Uint ( _ ) | ty :: Int ( _) | ty :: RawPtr ( .. ) => { }
1076+ ty:: Int ( _) => { }
10771077 _ => {
10781078 report_atomic_type_validation_error ( fx, intrinsic, source_info. span , layout. ty ) ;
10791079 return Ok ( ( ) ) ;
@@ -1094,7 +1094,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
10941094
10951095 let layout = src. layout ( ) ;
10961096 match layout. ty . kind ( ) {
1097- ty:: Uint ( _) | ty :: Int ( _ ) | ty :: RawPtr ( .. ) => { }
1097+ ty:: Uint ( _) => { }
10981098 _ => {
10991099 report_atomic_type_validation_error ( fx, intrinsic, source_info. span , layout. ty ) ;
11001100 return Ok ( ( ) ) ;
You can’t perform that action at this time.
0 commit comments