Add error message when trying to use &T
as a type or &x
as an expression
#4548
Labels
enhancement
New feature or request
&T
as a type or &x
as an expression
#4548
Problem
Noir doesn't have immutable references but due to its similarity with Rust, users may try to use them anyway.
Happy Case
Users should get a nice error message indicating Noir doesn't have immutable references. Potentially with a link to docs or similar explaining why this is.
Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: