rust/compiler/rustc_ty_utils
Nikita Popov c3f9403f59 Don't consider !Unpin references as noalias
Such structures may contain self-references, in which case the
same location may be accessible through a pointer that is not
based-on the noalias pointer.

This is still grey area as far as language semantics are concerned,
but checking for !Unpin as an indicator for self-referential
sturctures seems like a good approach for the meantime.
2021-03-21 20:10:53 +01:00
..
src Don't consider !Unpin references as noalias 2021-03-21 20:10:53 +01:00
Cargo.toml