mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Allow a `ref`-tagged expression to be converted to match a reference parameter. Move the `ref` checks to the start of `Convert`. Remove the diagnostic for applying `ref` to a non-reference expression so that non-reference expressions that convert to a reference would be accepted (although we don't currently have any such conversions). Assisted-by: Gemini via Antigravity