This commit is contained in:
Folkert 2021-06-21 23:02:49 +02:00
parent 368d45fb01
commit 205b168f16
8 changed files with 20 additions and 20 deletions

View file

@ -1063,7 +1063,7 @@ fn path_to_expr_help<'a>(
Layout::Struct(field_layouts) => {
debug_assert!(field_layouts.len() > 1);
let expr = Expr::AccessAtIndex {
let expr = Expr::StructAtIndex {
index,
field_layouts,
structure: symbol,