about summary refs log tree commit diff
path: root/src/parse/parser.rs
diff options
context:
space:
mode:
authorYacin Tmimi <yacintmimi@gmail.com>2024-09-10 01:15:02 -0400
committerYacin Tmimi <yacintmimi@gmail.com>2024-09-10 01:15:02 -0400
commit348a499e8bdd693df5be60bca4e6d9cef5230d0c (patch)
treecd61736b244e71c4e0f55c78a30366b3307c6f86 /src/parse/parser.rs
parente1712ea92f008e3e58cecda8716cfb669f4e62ca (diff)
parent182a20378b3a844e3677ff93d96f8ac70b9f009a (diff)
downloadrust-348a499e8bdd693df5be60bca4e6d9cef5230d0c.tar.gz
rust-348a499e8bdd693df5be60bca4e6d9cef5230d0c.zip
Merge remote-tracking branch 'upstream/master' into subtree-push-nightly-2024-09-10
Diffstat (limited to 'src/parse/parser.rs')
-rw-r--r--src/parse/parser.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parse/parser.rs b/src/parse/parser.rs
index 6051241309d..28b4c2b612f 100644
--- a/src/parse/parser.rs
+++ b/src/parse/parser.rs
@@ -1,4 +1,4 @@
-use std::panic::{catch_unwind, AssertUnwindSafe};
+use std::panic::{AssertUnwindSafe, catch_unwind};
 use std::path::{Path, PathBuf};
 
 use rustc_ast::token::TokenKind;
@@ -6,11 +6,11 @@ use rustc_ast::{ast, attr, ptr};
 use rustc_errors::Diag;
 use rustc_parse::parser::Parser as RawParser;
 use rustc_parse::{new_parser_from_file, new_parser_from_source_str, unwrap_or_emit_fatal};
-use rustc_span::{sym, Span};
+use rustc_span::{Span, sym};
 use thin_vec::ThinVec;
 
-use crate::parse::session::ParseSess;
 use crate::Input;
+use crate::parse::session::ParseSess;
 
 pub(crate) type DirectoryOwnership = rustc_expand::module::DirOwnership;
 pub(crate) type ModulePathSuccess = rustc_expand::module::ModulePathSuccess;