
@Lucretiel Yep, this does look like a shortcoming in the trait solver.
Esp. because this works play.rust-lang.org/?version=stabl…
pub trait Foo<T> {}
impl<T> Foo<T> for T {}
impl<T> Foo<(T, T)> for T {}
English
RustyYato
35 posts








Hardware people: "in a high-level language like C" Functional Programmers: "in a low-level language like C" Functional Programmers: "in a high-level language like Haskell" PL theorists:


Interested in learning about programming language semantics? Check out this new paper, which has just been accepted for the Journal of Functional Programming: cs.nott.ac.uk/~pszgmh/123.pdf


Don't let Rust hold you back - with #Solana, you can build with languages you know, like #JavaScript, #Python, #Go, and more! Join the #HyperdriveHackathon and make the easy switch to Web3 today. 🚀





Reconstruction of Greek philosopher Aristotle based on his bust.

