Issue diagnostic for scan if 'set' in @attr 8=set does not exist.