The Rust Programming Language Forum
Is UnsafeCell a language feature just like PhantomData?
help
jonh
August 17, 2023, 3:06pm
3
Note
#[lang]
is now included on some none special types and functions.
show post in topic
Related topics
Topic
Replies
Views
Activity
Why UnsafeCell<T> is invariant wrt T?
help
5
674
January 12, 2023
Why is `UnsafeCell<T>` (semantically) invariant?
6
687
December 2, 2023
Does compiler know about UnsafeCell?
help
7
330
July 1, 2025
Want to be clear, an UnsafeCell will disable optimizations on the whole composite tree?e
help
7
764
October 5, 2021
Does UnsafeCell still function under &mut T?
help
16
258
May 15, 2026