Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update bug message for cg
  • Loading branch information
lcnr committed Nov 20, 2020
1 parent 34ea5d0 commit c85af74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_resolve/src/diagnostics.rs
Expand Up @@ -143,7 +143,7 @@ impl<'a> Resolver<'a> {
_ => {
bug!(
"GenericParamsFromOuterFunction should only be used with Res::SelfTy, \
DefKind::TyParam"
DefKind::TyParam or DefKind::ConstParam"
);
}
}
Expand Down

0 comments on commit c85af74

Please sign in to comment.