Rust Internals
Justification for Rust not Supporting Function Overloading (directly)
leodasvacas
March 11, 2018, 1:41pm
7
tldr: Generics and function overloading don't play along well. Quoting boats
here
:
8 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
What is the reason for not having overloaded versions of fn?
6
1076
February 6, 2021
Pre-RFC: Explicit overload sets for mixed-arity function calls
language design
17
906
June 11, 2026
Dubtious ambiguity resolution for trait fns with the same name but different prototypes
compiler
9
1604
September 7, 2021
[Pre-pre-RFC] "splatting" for named arguments and function overloading
language design
42
2661
June 16, 2026
Overloading with tuples
language design
5
1527
December 7, 2021