-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Closed
Labels
A-type-systemArea: Type systemArea: Type systemE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Description
E.g.,
trait T {
fn foo(&self) {}
}
impl<'a> T+'a {
fn foo(&self) {}
}
Should be OK. (It currently gives "duplicate definition of value foo").
Follow up to #17750
Metadata
Metadata
Assignees
Labels
A-type-systemArea: Type systemArea: Type systemE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.