lookupBindGroupOcc: recommend names in the same namespace (#17593)
Previously, lookupBindGroupOcc
's error message would recommend all
similar names in scope, regardless of whether they were type
constructors, data constructors, or functions, leading to the
confusion witnessed in #17593 (closed). This is easily fixed by only
recommending names in the same namespace, using the
nameSpacesRelated
function.
Fixes #17593 (closed).