1
Fork 0

hir: Use InferArg in ArrayLen::Infer

This commit is contained in:
Vadim Petrochenkov 2024-01-27 18:59:20 +03:00
parent 5f8030dcc9
commit b2b5b91bfb
8 changed files with 16 additions and 11 deletions

View file

@ -956,7 +956,7 @@ impl<'a> State<'a> {
fn print_array_length(&mut self, len: &hir::ArrayLen) {
match len {
hir::ArrayLen::Infer(_, _) => self.word("_"),
hir::ArrayLen::Infer(..) => self.word("_"),
hir::ArrayLen::Body(ct) => self.print_anon_const(ct),
}
}