Skip to content

mark &mut parameters noalias if there are no potentially aliasing parameters #6785

Closed
@thestinger

Description

@thestinger

&mut can alias with &const, @mut, other types like @mut that allow a &mut borrow while still allowing reads and closures containing captured aliases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.E-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions