about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2017-03-17 16:17:45 -0400
committerNiko Matsakis <niko@alum.mit.edu>2017-03-23 13:25:45 -0400
commit1a87fc2635660bbf2947c17901dbd7dec75a63cb (patch)
tree92802eb9c3abbcb1e1cae6420136b58fc8ba3ee7 /src/rustllvm/RustWrapper.cpp
parentd5580374d7eb8795a8188be4650bd5079a25c6b3 (diff)
downloadrust-1a87fc2635660bbf2947c17901dbd7dec75a63cb.tar.gz
rust-1a87fc2635660bbf2947c17901dbd7dec75a63cb.zip
convert `custom_coerce_unsized_kind` into a `coerce_unsized_info`
This "on-demand" task both checks for errors and computes the custom
unsized kind, if any. This task is only defined on impls of
`CoerceUnsized`; invoking it on any other kind of impl results in a bug.
This is just to avoid having an `Option`, could easily be changed.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions