hir: Add some FIXMEs for future work

This commit is contained in:
Vadim Petrochenkov
2024-01-31 21:55:10 +03:00
parent a61019b290
commit 3e8c8d8d34
4 changed files with 6 additions and 0 deletions

View File

@@ -669,6 +669,7 @@ pub fn walk_pat_field<'v, V: Visitor<'v>>(visitor: &mut V, field: &'v PatField<'
pub fn walk_array_len<'v, V: Visitor<'v>>(visitor: &mut V, len: &'v ArrayLen) {
match len {
// FIXME: Use `visit_infer` here.
ArrayLen::Infer(InferArg { hir_id, span: _ }) => visitor.visit_id(*hir_id),
ArrayLen::Body(c) => visitor.visit_anon_const(c),
}