add check for ConstKind::Value(_) to in_operand() Added check for valtree value to close #113012 which fixes the issue, although I am not sure if adding the check there is sound or not cc `@oli-obk`
rustc +nightly -Zunstable-options