]> git.lizzy.rs Git - rust.git/commit
Auto merge of #59242 - euclio:asm-ice, r=nagisa
authorbors <bors@rust-lang.org>
Mon, 25 Mar 2019 09:05:00 +0000 (09:05 +0000)
committerbors <bors@rust-lang.org>
Mon, 25 Mar 2019 09:05:00 +0000 (09:05 +0000)
commit3f36ac4e835dfa0af77d5261a444a674ec9da3a5
tree2a7f9b1a0749ac5f62e2b70c2840dd5d2bb1c82c
parent60eca54a7ce931c590801048f54ac0b2d2cd5067
parent4728433c9ec07814b15868cb092afa2d60963cee
Auto merge of #59242 - euclio:asm-ice, r=nagisa

make asm diagnostic instruction optional

`DiagnosticInfoInlineAsm::getInstruction` may return a null pointer, so
the instruction shouldn't be blindly unwrapped.

Reopening from #55193. I was unable to trigger the assertion on Windows after rebasing.

Fixes #23458.
Fixes #55216.