Add syntax for negative implementations of traits#20285
Merged
bors merged 2 commits intorust-lang:masterfrom Jan 5, 2015
Merged
Add syntax for negative implementations of traits#20285bors merged 2 commits intorust-lang:masterfrom
bors merged 2 commits intorust-lang:masterfrom
Conversation
Contributor
|
This looks good but I think it needs:
|
ea5ed28 to
e9334ea
Compare
Contributor
Author
|
@nikomatsakis erm, it looks like I forgot to |
e9334ea to
336a8e6
Compare
Contributor
Author
|
@nikomatsakis I went with something a bit longer but clearer |
Contributor
|
r+ if nits are fixed and commit 336a836 is dropped |
04413e7 to
5fdd809
Compare
Contributor
Author
|
@nikomatsakis rebased r? :) |
5fdd809 to
73fb1ab
Compare
Contributor
Author
|
@nikomatsakis rebased r? |
73fb1ab to
5ee5727
Compare
5ee5727 to
42fe3c2
Compare
This commit introduces the syntax for negative implmenetations of traits
as shown below:
`impl !Trait for Type {}`
cc rust-lang#13231
Part of RFC rust-lang#3
42fe3c2 to
c062fac
Compare
bors
added a commit
that referenced
this pull request
Jan 5, 2015
…tsakis
This commit introduces the syntax for negative implementations of traits
as shown below:
`impl !Trait for Type {}`
cc #13231
Part of RFC rust-lang/rfcs#127
r? @nikomatsakis
lnicola
pushed a commit
to lnicola/rust
that referenced
this pull request
Jul 28, 2025
Change rename self to parameter use `Self` type
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit introduces the syntax for negative implementations of traits
as shown below:
impl !Trait for Type {}cc #13231
Part of RFC rust-lang/rfcs#127
r? @nikomatsakis