]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #53562 - varkor:bastion-of-the-turbofish, r=nagisa
authorkennytm <kennytm@gmail.com>
Fri, 24 Aug 2018 08:44:34 +0000 (16:44 +0800)
committerGitHub <noreply@github.com>
Fri, 24 Aug 2018 08:44:34 +0000 (16:44 +0800)
commit714e5b3c4663c353b8bb69a7276664d7b1b04c29
treee28c6951599680c1b8817b615c50086041cbf18f
parent7f396bad9e72d1102f4a2656d148a557a73d05f1
parentb188c2a4eb7a3eede8477e3fbeaea623fc256586
Rollup merge of #53562 - varkor:bastion-of-the-turbofish, r=nagisa

Lament the invincibility of the Turbofish

Here a test case is added to ensure that any others attempting to drive the Turbofish to extinction have second thoughts. Previously the [entire test suite would succeed](https://github.com/rust-lang/rust/pull/53511) if generic arguments were accepted without disambiguation, making for [confusing and heartbreaking circumstances](https://github.com/rust-lang/rfcs/pull/2527).