about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2019-05-17 11:34:13 -0700
committerGitHub <noreply@github.com>2019-05-17 11:34:13 -0700
commitf48f37b052bd2683ff89037001d794f5ffac9e5b (patch)
tree4fb7f1a6229a9d360d01861a3c90eff426a2f910 /src/rustllvm/RustWrapper.cpp
parentba0e2518c852f844a8975c2e4b1d5814dd2d11c8 (diff)
parent686a611b9e19b487a70fccc960ea0e16e71de988 (diff)
downloadrust-f48f37b052bd2683ff89037001d794f5ffac9e5b.tar.gz
rust-f48f37b052bd2683ff89037001d794f5ffac9e5b.zip
Rollup merge of #60902 - sfackler:fix-error-soudness, r=alexcrichton
Prevent Error::type_id overrides

type_id now takes an argument that can't be named outside of the
std::error module, which prevents any implementations from overriding
it. It's a pretty grody solution, and there's no way we can stabilize
the method with this API, but it avoids the soudness issue!

Closes #60784

r? @alexcrichton
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions