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 never type to TypeName #466

Merged
merged 5 commits into from
May 22, 2020
Merged

Conversation

nathanwhit
Copy link
Member

Addresses part of #368

Copy link
Member

@jackh726 jackh726 left a comment

Choose a reason for hiding this comment

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

Copy/clone are in libcore: https://github.com/rust-lang/rust/blob/master/src/librustc_trait_selection/traits/select.rs#L2255

Also, looking over the table, looks like raw ptrs and immutable refs also have their impls in libcore. Think you can fix that here too? (It's small enough I don't think we need to split into a separate PR)

@nathanwhit
Copy link
Member Author

Copy/clone are in libcore: https://github.com/rust-lang/rust/blob/master/src/librustc_trait_selection/traits/select.rs#L2255

Also, looking over the table, looks like raw ptrs and immutable refs also have their impls in libcore. Think you can fix that here too? (It's small enough I don't think we need to split into a separate PR)

Whoops you're right, should be fixed now!

@nathanwhit nathanwhit force-pushed the typename-never branch 2 times, most recently from ec34892 to 3076dab Compare May 21, 2020 21:13
tests/test/refs.rs Outdated Show resolved Hide resolved
@jackh726 jackh726 merged commit 08956d4 into rust-lang:master May 22, 2020
@nathanwhit nathanwhit deleted the typename-never branch May 25, 2020 21:22
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