mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-28 07:50:09 +01:00
Name conflicts weren't previously tested, and the diagnostics were just a TODO, so this is also adding testing for that. But handling too. Removing AddEntry because I think it's hard to make helpful for this use-case when we want to do a diagnostic followup (because really, callers want the full `.insert` result of pointer + success), and unused otherwise. --------- Co-authored-by: Richard Smith <richard@metafoo.co.uk> Co-authored-by: Chandler Carruth <chandlerc@gmail.com>