]> git.lizzy.rs Git - rust.git/commit
Auto merge of #38296 - dylanmckay:llvm-4.0-errortype, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 12 Dec 2016 07:19:35 +0000 (07:19 +0000)
committerbors <bors@rust-lang.org>
Mon, 12 Dec 2016 07:19:35 +0000 (07:19 +0000)
commit8d66181b5e35295deea24c389db5366d0776f7f8
tree38158b16c8658e7067d053197047f4b100476697
parent81fb6509c81953c215bba2164470a41787e43193
parent6222de3ce4fcb59aeb0516305767f0043cc88f1e
Auto merge of #38296 - dylanmckay:llvm-4.0-errortype, r=alexcrichton

[LLVM 4.0] Explicitly call constructor of 'llvm::Error'

The implicit constructor has been deleted. We should use
Error::success() instead.

The constructor in the LLVM headers mentions that "success" should be
used instead of the deleted constructor for clarity.