Skip to content

Remove/justify all &T to &mut T transmutes #13933

Closed
@huonw

Description

@huonw

This is undefined behaviour, and so would preferably be avoided by using Unsafe etc.

#13934 removed the transmute_mut function, replacing it with (closer to) correct code where possible & transmute::<&_, &mut where not possible (that code snippet is the longest sequence that means grep will find all of the calls I inserted). There's fixmes pointing to this issue too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions