-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.
Milestone
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
Metadata
Metadata
Assignees
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.