Skip to content

Commit 0691e58

Browse files
committed
Fix incorrect ParseSess call
1 parent bb6174c commit 0691e58

File tree

1 file changed

+1
-0
lines changed
  • src/libsyntax/parse/lexer

1 file changed

+1
-0
lines changed

src/libsyntax/parse/lexer/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,6 +1933,7 @@ mod tests {
19331933
raw_identifier_spans: Lock::new(Vec::new()),
19341934
registered_diagnostics: Lock::new(ErrorMap::new()),
19351935
buffered_lints: Lock::new(vec![]),
1936+
missing_ident_could_be_struct_literal: Lock::new(Default::default()),
19361937
}
19371938
}
19381939

0 commit comments

Comments
 (0)