mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-15 00:13:02 +00:00
![]() Current `transform_ty` attempts to avoid cycles when normalizing `#[repr(transparent)]` types to their interior, but runs afoul of this pattern used in `self_cell`: ``` struct X<T> { x: u8, p: PhantomData<T>, } #[repr(transparent)] struct Y(X<Y>); ``` When attempting to normalize Y, it will still cycle indefinitely. By using a types-visited list, this will instead get expanded exactly one layer deep to X<Y>, and then stop, not attempting to normalize `Y` any further. |
||
---|---|---|
.. | ||
cfi | ||
kcfi | ||
address-sanitizer-globals-tracking.rs | ||
dataflow-instrument-functions.rs | ||
kasan-emits-instrumentation.rs | ||
memory-track-origins.rs | ||
memtag-attr-check.rs | ||
no-sanitize-inlining.rs | ||
no-sanitize.rs | ||
safestack-attr-check.rs | ||
sanitizer-recover.rs | ||
scs-attr-check.rs |