]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Rollup merge of #78961 - CraftSpider:22565, r=oli-obk
authorDylan DPC <dylan.dpc@gmail.com>
Thu, 19 Nov 2020 15:26:19 +0000 (16:26 +0100)
committerGitHub <noreply@github.com>
Thu, 19 Nov 2020 15:26:19 +0000 (16:26 +0100)
commit5a58b5069873564e37acb42dc2f963b726a769e5
treeae96f2809e9fc01589001aacc106f7cb7d0f0581
parent7e2032390cf34f3ffa726b7bd890141e2684ba63
parente8426a617b87af7b8254e732ca85951cbae0a6b9
Rollup merge of #78961 - CraftSpider:22565, r=oli-obk

Make bad "rust-call" arguments no longer ICE

The simplest of bad rust-call definitions will no longer cause an ICE. There is a FIXME added for future work, as I wanted to get this easy fix in before trying to either add a hack or mess with the whole obligation system

fixes #22565
compiler/rustc_typeck/src/check/check.rs
compiler/rustc_typeck/src/check/mod.rs