Remove cat_discr

it seems to be some kind of GC-related mess
auto merge of #17978 : arielb1/rust/remaining-garbage, r=nikomatsakis

it seems to be some kind of leftover GC-related detritus