Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for min_const_generics constants #39

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

varkor
Copy link
Member

@varkor varkor commented Oct 7, 2020

Add demangling for bool, signed integers, and char.

cc @eddyb

);
t_nohash!(
"_RMCs4fqI2P2rA04_13const_genericINtB0_6SignedKanb_E",
"<const_generic::Signed<-11>>"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For completion's sake mind adding a test for a positive signed number as well?

(also a false and a different char value too?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@alexcrichton
Copy link
Member

👍 thanks!

Would you like a publish for this as well?

@alexcrichton alexcrichton merged commit 6e407b5 into rust-lang:master Oct 7, 2020
@varkor
Copy link
Member Author

varkor commented Oct 7, 2020

Actually, there's one other change @eddyb suggested (I forgot to include it in this PR), so I'll make that first: thanks!

src/v0.rs Show resolved Hide resolved
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.

3 participants