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

an impl that contains two methods with the same name does not yield an error #2114

Closed
nikomatsakis opened this issue Apr 2, 2012 · 0 comments
Labels
A-type-system Area: Type system

Comments

@nikomatsakis
Copy link
Contributor

This passes:

impl methods for uint {
    fn a() { }
    fn a() { }
}

fn main() { }
@ghost ghost assigned marijnh Apr 3, 2012
@marijnh marijnh closed this as completed in 90d3f0f Apr 3, 2012
BoxyUwU pushed a commit to BoxyUwU/rust that referenced this issue Jan 29, 2025
Add a link to declare_lint! macro doc in diagnostics.md
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
Projects
None yet
Development

No branches or pull requests

2 participants