about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2020-07-02 14:13:39 +0100
committerDavid Wood <david@davidtw.co>2020-07-02 16:24:09 +0100
commitbddb266089deb0cb879caeff1bb9aa860746e062 (patch)
tree3597b0358ef4d06ddd246ae581365dbcb2af3c57 /src/test/debuginfo/enum-thinlto.rs
parent9491f18c5de3ff1c4bf9c3fdacf52d9859e26f7c (diff)
downloadrust-bddb266089deb0cb879caeff1bb9aa860746e062.tar.gz
rust-bddb266089deb0cb879caeff1bb9aa860746e062.zip
typeck: check for infer before type impls trait
This commit 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.

Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions