Skip to content

[r+] coherence: Allow impls of builtin traits just on structs/enums #21167

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

Merged
merged 2 commits into from
Jan 16, 2015

Conversation

flaper87
Copy link
Contributor

Fixes #21080

r? @nikomatsakis

[breaking-change]

@flaper87 flaper87 force-pushed the coherence-impls branch 3 times, most recently from 2a0244a to 41d0413 Compare January 15, 2015 00:46
self.tcx.sess.span_err(
item.span,
&format!("builtin traits can only be \
implemented on `structs` or `enums`")[]);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can remove the "`" quotes here

@nikomatsakis nikomatsakis changed the title coherence: Allow impls of builtin traits just on structs/enums [r+] coherence: Allow impls of builtin traits just on structs/enums Jan 15, 2015
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 15, 2015
@bors bors merged commit de7b3cf into rust-lang:master Jan 16, 2015
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-tuple gets inferred to internal test runner types with --test if certain type is marked Send
3 participants