Skip to content

Commit

Permalink
Lament the invincibility of the Turbofish
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Aug 22, 2018
1 parent f1b506a commit b188c2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/ui/bastion-of-the-turbofish.rs
Expand Up @@ -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));
Expand Down

0 comments on commit b188c2a

Please sign in to comment.