def index.one
import bolt@1.27.0.0/src/rules/suspicious/unused.bend as Unusedimport Base
import bolt@1.27.0.0/src/syntax/bind.bend as Bind
210# a use's target into the index, when it is a binder of the file
211def index.one(tg: Bind.Target, +hh: Hits) -> Hits:
212 match tg:
213 case Bind.TLocal{+tl, tc}:
214 put(path(depth(), tl), hh, Cell{tl, tc})
215 case Bind.TItem{_n}:
216 hh
217 case Bind.TQual{_a, _n}:
218 hh
219 case Bind.TFree{}:
220 hh