]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #99631 - jmqd:master, r=oli-obk
authorMatthias Krüger <matthias.krueger@famsik.de>
Sat, 23 Jul 2022 10:08:13 +0000 (12:08 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Jul 2022 10:08:13 +0000 (12:08 +0200)
Use span_bug in case of unexpected rib kind

Extremely minor QOL change to improve the ICE compiler output in case
this default match case is encountered (an unexpected rib kind).

I have limited experience in this area of the compiler; please let me know
if a span more precise than `param.ident.span` is more applicable.


Trivial merge