1
Fork 0

update bug message for cg

This commit is contained in:
Bastian Kauschke 2020-11-20 23:31:36 +01:00
parent 34ea5d02dd
commit c85af74fcd

View file

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