mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-28 08:10:10 +01:00
`const` doesn't mean much on the type of a value expression; it's valid to remove it because we can't perform modifications to a const value regardless. We already allowed most of this, but only as part of adapter conversion rather than in general, and we didn't previously allow it when the source of the conversion was a reference expression. --------- Co-authored-by: josh11b <15258583+josh11b@users.noreply.github.com>