-
-
Notifications
You must be signed in to change notification settings - Fork 15k
mark &mut parameters as noalias #6350
Copy link
Copy link
Closed
Labels
A-codegenArea: Code generationArea: Code generationI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Type
Fields
Give feedbackNo fields configured for issues without a type.
&mutis guaranteed to never alias as a property of the type, so this can safely be used in function parameter annotations. I don't think there will be much (if any) brokenunsafecode to fix.This won't replace the need for an alias analysis pass, but it's a step towards that.