Disallow duplicated extern declarations
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 14.6k
Open
Open
Labels
Description
opened
on Mar 5, 2014mod a { extern { fn func(); } } mod b { extern { fn func(i: i8); // different signature } }
Currently rustc accepts this, but I think it should be disallowed to reduce potential mistakes.
Metadata
Metadata
Assignees
No one assigned
Labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions