File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_parse/src/parser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ impl<'a> Parser<'a> {
311311 Ok ( Some ( info) )
312312 }
313313
314- fn recover_import_as_use ( & mut self ) -> PResult < ' a , Option < ( Ident , ItemKind ) > > {
314+ fn recover_import_as_use ( & mut self ) -> PResult < ' a , Option < ItemInfo > > {
315315 let span = self . token . span ;
316316 let token_name = super :: token_descr ( & self . token ) ;
317317 let snapshot = self . create_snapshot_for_diagnostic ( ) ;
@@ -329,7 +329,7 @@ impl<'a> Parser<'a> {
329329 }
330330 }
331331
332- fn parse_use_item ( & mut self ) -> PResult < ' a , ( Ident , ItemKind ) > {
332+ fn parse_use_item ( & mut self ) -> PResult < ' a , ItemInfo > {
333333 let tree = self . parse_use_tree ( ) ?;
334334 if let Err ( mut e) = self . expect_semi ( ) {
335335 match tree. kind {
You can’t perform that action at this time.
0 commit comments