internal/core/adt: remove requirement type
And change signature of containsDefID to
just take ID. This allows for some
optimizations down the line.
Issue #3981
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: Ia90df592e4cb4b05bdee01fd74236bb6dd63ef98
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1218724
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>