update bug message for cg
This commit is contained in:
parent
34ea5d02dd
commit
c85af74fcd
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue