about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-14 07:38:58 -0700
committerGitHub <noreply@github.com>2020-07-14 07:38:58 -0700
commit6a4faa2da18330c067babb6acf9041c599c4ad27 (patch)
treee25beefd7f235a24a6f4afe2bb65f6933f83a0dc /src/test/debuginfo/enum-thinlto.rs
parent905c4e05e1355854c0c63099c70dc1359a3accc7 (diff)
parentbddb266089deb0cb879caeff1bb9aa860746e062 (diff)
downloadrust-6a4faa2da18330c067babb6acf9041c599c4ad27.tar.gz
rust-6a4faa2da18330c067babb6acf9041c599c4ad27.zip
Rollup merge of #73965 - davidtwco:issue-73886-non-primitive-slice-cast, r=estebank
typeck: check for infer before type impls trait

Fixes #73886.

This PR checks that the target type of the cast (an error related to which is being reported) does not have types to be inferred before checking if it implements the `From` trait.

r? @estebank
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions