about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2022-06-27 10:05:55 -0700
committerJosh Stone <jistone@redhat.com>2022-06-27 10:05:55 -0700
commite67e1655854b8f2c94dff80f4da2e595bd1ceaa8 (patch)
tree6ae5fbdbf49550cfa0b7fff0d99a49ca97a7aa92 /compiler/rustc_codegen_llvm/src
parentbd2e51a338e36372b200a22f3e0e22189a1063e6 (diff)
downloadrust-e67e1655854b8f2c94dff80f4da2e595bd1ceaa8.tar.gz
rust-e67e1655854b8f2c94dff80f4da2e595bd1ceaa8.zip
Make `ThinBox<T>` covariant in `T`
Just like `Box<T>`, we want `ThinBox<T>` to be covariant in `T`, but the
projection in `WithHeader<<T as Pointee>::Metadata>` was making it
invariant. This is now hidden as `WithOpaqueHeader`, which we type-cast
whenever the real `WithHeader<H>` type is needed.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions