]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #57984 - phansch:improve_check_ty_error, r=zackmdavis
authorMazdak Farrokhzad <twingoow@gmail.com>
Thu, 31 Jan 2019 01:10:47 +0000 (02:10 +0100)
committerGitHub <noreply@github.com>
Thu, 31 Jan 2019 01:10:47 +0000 (02:10 +0100)
commitdfc8ff549fdcfadd67f7cd74b572e7ba7f17296f
tree934ed3d02ba5225604a16ec26fed69a35fa560b9
parent9b3aedf5b0bd74e50987a59052695f04a3fb78bb
parent037fdb8213da90f3fe26f78b1e415b86f59b0185
Rollup merge of #57984 - phansch:improve_check_ty_error, r=zackmdavis

Improve bug message in check_ty

This branch was hit in Clippy and I think it would be nice to
show the thing that was unexpected in the bug message.

It's also in line with the other `bug!` messages in `check_ty`.