@@ -89,7 +89,7 @@ fn struct_() -> Result<()> {
8989 #[ automatically_derived]
9090 impl <T > :: core:: cmp:: PartialEq for Test <T > {
9191 #[ inline]
92- fn eq( & self , __other: & Self ) -> bool {
92+ fn eq( & self , __other: & Self ) -> :: core :: primitive :: bool {
9393 match ( self , __other) {
9494 ( Test { field: ref __field_field } , Test { field: ref __other_field_field } ) =>
9595 true && :: core:: cmp:: PartialEq :: eq( __field_field, __other_field_field) ,
@@ -192,7 +192,7 @@ fn tuple() -> Result<()> {
192192 #[ automatically_derived]
193193 impl <T > :: core:: cmp:: PartialEq for Test <T > {
194194 #[ inline]
195- fn eq( & self , __other: & Self ) -> bool {
195+ fn eq( & self , __other: & Self ) -> :: core :: primitive :: bool {
196196 match ( self , __other) {
197197 ( Test ( ref __field_0) , Test ( ref __other_field_0) ) =>
198198 true && :: core:: cmp:: PartialEq :: eq( __field_0, __other_field_0) ,
@@ -229,7 +229,7 @@ fn enum_() -> Result<()> {
229229 } ;
230230 #[ cfg( not( feature = "nightly" ) ) ]
231231 let ord = quote ! {
232- const fn __discriminant<T >( __this: & Test <T >) -> isize {
232+ const fn __discriminant<T >( __this: & Test <T >) -> :: core :: primitive :: isize {
233233 match __this {
234234 Test :: A { field: ref __field_field } => 0 ,
235235 Test :: B { } => 1 ,
@@ -374,7 +374,7 @@ fn enum_() -> Result<()> {
374374 #[ automatically_derived]
375375 impl <T > :: core:: cmp:: PartialEq for Test <T > {
376376 #[ inline]
377- fn eq( & self , __other: & Self ) -> bool {
377+ fn eq( & self , __other: & Self ) -> :: core :: primitive :: bool {
378378 if :: core:: mem:: discriminant( self ) == :: core:: mem:: discriminant( __other) {
379379 match ( self , __other) {
380380 ( Test :: A { field: ref __field_field } , Test :: A { field: ref __other_field_field } ) =>
0 commit comments