Module reference_casting

Source

Structsยง

InvalidReferenceCasting

Enumsยง

PatternKind ๐Ÿ”’

Staticsยง

INVALID_REFERENCE_CASTING ๐Ÿ”’
The invalid_reference_casting lint checks for casts of &T to &mut T without using interior mutability.

Functionsยง

borrow_or_assign ๐Ÿ”’
is_cast_from_ref_to_mut_ptr ๐Ÿ”’
is_cast_to_bigger_memory_layout ๐Ÿ”’
peel_casts ๐Ÿ”’