mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Lament the invincibility of the Turbofish
This commit is contained in:
@@ -36,6 +36,10 @@
|
||||
// My heart aches in sorrow, for I know I am defeated. Let this be a warning
|
||||
// to all those who come after. Here stands the bastion of the Turbofish.
|
||||
|
||||
// See https://github.com/rust-lang/rust/pull/53562
|
||||
// and https://github.com/rust-lang/rfcs/pull/2527
|
||||
// for context.
|
||||
|
||||
fn main() {
|
||||
let (oh, woe, is, me) = ("the", "Turbofish", "remains", "undefeated");
|
||||
let _: (bool, bool) = (oh<woe, is>(me));
|
||||
|
||||
Reference in New Issue
Block a user