@@ -232,19 +232,23 @@ impl FluxPtr {
232232 }
233233}
234234
235- #[ flux_rs:: assoc(
236- fn eq( x: Self , y: Self ) -> bool { x == y }
237- fn ne( x: Self , y: Self ) -> bool { x != y }
238- ) ]
235+ // #[flux_rs::assoc(
236+ // fn eq(x:Self, y:Self) -> bool { x == y }
237+ // fn ne(x:Self, y:Self) -> bool { x != y }
238+ // )]
239+
240+ #[ flux_rs:: trusted_impl]
239241impl PartialEq for FluxPtr {
240242 #[ flux_rs:: trusted( reason = "flux wrappers" ) ]
241- #[ flux_rs:: sig( fn ( & Self [ @x] , & Self [ @y] ) -> bool [ Self :: eq( x, y) ] ) ]
243+ // #[flux_rs::sig(fn (&Self[@x], &Self[@y]) -> bool[<FluxPtr as PartialEq>::eq(x, y)])]
244+ #[ flux_rs:: sig( fn ( & Self [ @x] , & Self [ @y] ) -> bool [ x == y] ) ]
242245 fn eq ( & self , other : & Self ) -> bool {
243246 self . inner == other. inner
244247 }
245248
246249 #[ flux_rs:: trusted( reason = "flux wrappers" ) ]
247- #[ flux_rs:: sig( fn ( & Self [ @x] , & Self [ @y] ) -> bool [ Self :: ne( x, y) ] ) ]
250+ // #[flux_rs::sig(fn (&Self[@x], &Self[@y]) -> bool[<FluxPtr as PartialEq>::ne(x, y)])]
251+ #[ flux_rs:: sig( fn ( & Self [ @x] , & Self [ @y] ) -> bool [ x != y] ) ]
248252 fn ne ( & self , other : & Self ) -> bool {
249253 self . inner == other. inner
250254 }
0 commit comments