Skip to content

Commit bb928a7

Browse files
committed
Undo switch to type alias
This was pointless churn
1 parent 145697c commit bb928a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc_metadata/rmeta/decoder/cstore_impl.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ use rustc_hir::def_id::{CrateNum, DefId, DefIdMap, CRATE_DEF_INDEX, LOCAL_CRATE}
2323
use rustc_span::source_map::{self, Span, Spanned};
2424
use rustc_span::symbol::Symbol;
2525

26-
use rustc_ast::ast::Name;
2726
use rustc_data_structures::sync::Lrc;
2827
use smallvec::SmallVec;
2928
use std::any::Any;
@@ -387,7 +386,7 @@ pub fn provide(providers: &mut Providers<'_>) {
387386
}
388387

389388
impl CStore {
390-
pub fn struct_field_names_untracked(&self, def: DefId, sess: &Session) -> Vec<Spanned<Name>> {
389+
pub fn struct_field_names_untracked(&self, def: DefId, sess: &Session) -> Vec<Spanned<Symbol>> {
391390
self.get_crate_data(def.krate).get_struct_field_names(def.index, sess)
392391
}
393392

0 commit comments

Comments
 (0)