Commit 70e56b27 authored by Ryan Scott's avatar Ryan Scott Committed by Marge Bot

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. This is easily fixed by only
recommending names in the same namespace, using the
`nameSpacesRelated` function.

Fixes #17593.
parent 1a0d1a65
Pipeline #14111 failed with stages
in 1 minute and 59 seconds