]> git.lizzy.rs Git - rust.git/commit
[perf] Skip attempting to run coerce_unsized on an inference variable
authorAaron Hill <aa1ronham@gmail.com>
Thu, 27 Feb 2020 22:22:32 +0000 (17:22 -0500)
committerAaron Hill <aa1ronham@gmail.com>
Thu, 27 Feb 2020 22:34:23 +0000 (17:34 -0500)
commit32c360b993d9706d48e1b216b1a35f3bdf422574
treec083977230b4e4bd95a31ccc4e36e20cde4d0708
parent6d69caba110c0c2fb90180df1cbc8be5033b91d4
[perf] Skip attempting to run coerce_unsized on an inference variable

See the included comment for a detailed explanation of why this is
sound.
src/librustc_typeck/check/coercion.rs