Fix reachable_set for non-function items in non-library crates
#88032
+19
−17
reachable_set for non-function items in non-library crates
#88032