HerrCai0907 wrote: I want to use error in other place and follow this style to print error, but get a trap since Error isn't consumed. unfortunately I don't know how to make it happen in this cases. https://github.com/llvm/llvm-project/pull/120597