about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-03-23 13:42:43 +0100
committerSimon Sapin <simon.sapin@exyr.org>2018-03-26 23:34:22 +0200
commit9fd399feb149bb7b58f21c54fc8c9358fea487a2 (patch)
tree45a5d5c013dcdefbabc22b85f8889997862e41f2 /src/rustllvm/RustWrapper.cpp
parent2178ef8b220daec3228f6f4dae60787e506fa089 (diff)
downloadrust-9fd399feb149bb7b58f21c54fc8c9358fea487a2.tar.gz
rust-9fd399feb149bb7b58f21c54fc8c9358fea487a2.zip
Don’t use `type Error = !` for target-dependant TryFrom impls.
Instead, expose apparently-fallible conversions in cases where
the implementation happens to be infallible for a given target.

Having an associated type / return type in a public API change
based on the target is a portability hazard.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions