Closed
Description
In Rust, const
means several things:
const
items (document const items #3341)- The
const
kind (Add deep const kind #2421), which represents deep immutability const
pointers, which can point to mutable or immutable data, but cannot be used to mutate it
I think const
pointers are the most confusing and should be renamed to something else (perhaps read
pointers). This confusion may have contributed to the unsoundness fixed in 5d540de#L7L1206