-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Cannot define the same inherent method in disjoint blocks #19097
Labels
A-type-system
Area: Type system
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Comments
cc me |
The example now compiles with |
sfackler
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
Apr 9, 2015
aturon
added a commit
to aturon/rust
that referenced
this issue
Apr 9, 2015
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 10, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Apr 10, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Apr 10, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Apr 10, 2015
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 10, 2015
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 10, 2015
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 10, 2015
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 10, 2015
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 10, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Apr 11, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-type-system
Area: Type system
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Currently, the following fails to compile:
The error:
If you construct an analogous situation using two separate impls of a trait providing
foo
, it works just fine, because there is no overlap. Inherent impl blocks could be similarly flexible.The text was updated successfully, but these errors were encountered: