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
1026
February 6, 2021
Pre-RFC: Explicit overload sets for mixed-arity function calls
language design
17
671
June 11, 2026
[Pre-pre-RFC] "splatting" for named arguments and function overloading
language design
41
1932
February 26, 2026
Dubtious ambiguity resolution for trait fns with the same name but different prototypes
compiler
9
1519
September 7, 2021
Overloading with tuples
language design
5
1465
December 7, 2021