1
Fork 0

review comments: rewordings

This commit is contained in:
Esteban Küber 2024-12-06 19:43:01 +00:00
parent e0752ad257
commit 148a77dfde
11 changed files with 50 additions and 50 deletions

View file

@ -752,7 +752,7 @@ impl<'ra: 'ast, 'ast, 'tcx> Visitor<'ast> for LateResolutionVisitor<'_, 'ast, 'r
self.parent_scope.macro_rules = old_macro_rules;
}
fn visit_anon_const(&mut self, constant: &'ast AnonConst) {
bug!("encountered anon const without a manual call to `resolve_anon_const` {constant:#?}");
bug!("encountered anon const without a manual call to `resolve_anon_const`: {constant:#?}");
}
fn visit_expr(&mut self, expr: &'ast Expr) {
self.resolve_expr(expr, None);