If they are more focused on salary rather than the actual work they might do, the team, working environment, opportunities for career progression, expectations and requirements, travel requirements, the companies vision and roadmap, growth of the business unit, technology stack, opportunities for learning , opportunities to take on more responsibility, WFH/RTO mandates etc. then it is a very bad sign. Furthermore, if someone is singularly focused on salary to the point they don't interview without specific details then the candidate would be at risk of either trying to extortion higher pay rises or will simply jump ship as soon as they have a better offer.Why would they not be the kind of person you want?
Some basic clarifying expectations is fine, maybe a senior engineer applies to a junior job and wants to see if the salary would be flexible given their experience.
And all of this neglects that total Compensation is more import once you get to higher seniority. About half my TC is salary, stock, bonuses, various benefits and payouts for e.g presenting at conferences or patents pay out at least half. Someone can make a big fuss over their basic salary but the company can easily readdress any discrepancies if they think they overpaid in base salary by simply reducing RSU and bonuses. So stating a Salary of X at the start of the interview when the TC averaged per year might be 2X over the first 3 years.