diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-03-17 16:17:45 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-03-23 13:25:45 -0400 |
| commit | 1a87fc2635660bbf2947c17901dbd7dec75a63cb (patch) | |
| tree | 92802eb9c3abbcb1e1cae6420136b58fc8ba3ee7 /src/rustllvm/RustWrapper.cpp | |
| parent | d5580374d7eb8795a8188be4650bd5079a25c6b3 (diff) | |
| download | rust-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
