<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60397>60397</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Better warnings for structural non-type template substitution failure
</td>
</tr>
<tr>
<th>Labels</th>
<td>
enhancement,
clang:diagnostics
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
duk-37
</td>
</tr>
</table>
<pre>
[Simple repro involving user-defined string literals](https://godbolt.org/z/MofaYvsrj) -- notice the difference in clarity between clang and gcc warnings
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckcGOnTwMhZ8mbCKuggPDZcFi5h-x-1dddRkSBzwNCUqcO5o-fcVV1UpdWfaRfPwdm1Joi4izGN7E8N6YynvKs6s_Wj02a3Jfl_KNjjOgzHjmJCk-UnhQ3GQtmFuHniI6WThfs0CM2YQihncB9535LEK_ClgELFtyawp8S3kTsPwUsPyfvPn-KPlDwCTbVsbEZFHyjtKR95gxWpQUpQ0mE3_JFfkT8dnHTZro5Gat_DQ5UtxK42btJj2ZBufuZRw60N2omn3uJz9pr-7T2L-gNauf9ODsCkrpu_N4b2gGBVp1WoEeJq1u3pp-UND33eTHu-tEr_AwFG4hPI6LoKFSKs4vSk9jE8yKoTxDBMC4m2jxwMgCQMB_AuB5r9CvjswWU2Gy5dKG9ybP18Z2rVsRvQpUuPz1YOKA8xsyY_5DKX3KV9zVcs0myJhiy18nSsbjDIZRlroWJq5MKUpvKNSMTc1h_ucfxHtdbzYdApbL83dpz5w-0LKA5QlZBCxPzl8BAAD__4-EufY">