diff --git a/toolchain/check/custom_witness.cpp b/toolchain/check/custom_witness.cpp index 2c7d8fd569ac..6066c51a1da1 100644 --- a/toolchain/check/custom_witness.cpp +++ b/toolchain/check/custom_witness.cpp @@ -185,6 +185,7 @@ static auto CanDestroyType( // The value's type is a facet (whose type is a facet type). We don't // provide a custom witness for symbolic values of type facet. The witness // will be found from impl lookup. + CARBON_CHECK(query_self_const_id.is_symbolic()); return DestroyFormat::NoDestroy; }