Skip to content

librustc: Allow &T to be assigned to *T - #4051

Closed
pcwalton wants to merge 4 commits into
rust-lang:incomingfrom
pcwalton:unsafe-pointer-assignability
Closed

librustc: Allow &T to be assigned to *T#4051
pcwalton wants to merge 4 commits into
rust-lang:incomingfrom
pcwalton:unsafe-pointer-assignability

Conversation

@pcwalton

Copy link
Copy Markdown
Contributor

r? @nikomatsakis (commit 4)

@pcwalton pcwalton closed this Nov 28, 2012
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
5698: Display the value of a const on the hover r=jonas-schievink a=JmPotato

Signed-off-by: JmPotato <ghzpotato@gmail.com>

Close rust-lang#4051 

To display the value of a const, I modified the implementation of `ShortLabel` for `ast::Const`.

Co-authored-by: JmPotato <ghzpotato@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants