]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
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)
commitf510d98ad387f2da7be0ad137ef2a9fd80dc812e
treedfeed74d7edb969e344fca3d157104f22d3620d5
parent539b8dd2e360118157fc35675cefbb1d1a519545
parente0c9be539a2129478b4d6246cda6a398738290a0
Rollup merge of #99631 - jmqd:master, r=oli-obk

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.