update bug message for cg

This commit is contained in:
Bastian Kauschke 2020-11-20 23:31:36 +01:00
parent 34ea5d02dd
commit c85af74fcd
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ impl<'a> Resolver<'a> {
_ => {
bug!(
"GenericParamsFromOuterFunction should only be used with Res::SelfTy, \
DefKind::TyParam"
DefKind::TyParam or DefKind::ConstParam"
);
}
}