about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2020-05-20 14:31:51 +0000
committerNiko Matsakis <niko@alum.mit.edu>2020-06-22 15:33:07 +0000
commit1e00e1b6debce8270dd75e795458ba8becdffe1f (patch)
tree61b186bfde82f9b3954da9bc5b269383ac383b99 /src/rustllvm/CoverageMappingWrapper.cpp
parent5a7a850753b60abfd2a806bf6bba4259d3535e7b (diff)
downloadrust-1e00e1b6debce8270dd75e795458ba8becdffe1f.tar.gz
rust-1e00e1b6debce8270dd75e795458ba8becdffe1f.zip
upcasting traits requires only that things become more general
Revert the code that states that upcasting traits requires full
equality and change to require that the source type is a subtype of
the target type, as one would expect. As the comment states, this was
an old bug that we didn't want to fix yet as it interacted poorly with
the old leak-check. This fixes the old-lub-glb-object test, which was
previously reporting too many errors (i.e., in the previous commit).
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions