Skip to content

Commit 6dd35c7

Browse files
committed
maud_lints: replace usage of InternedString by LocalInternedString
refs: rust-lang/rust#49894
1 parent e606e64 commit 6dd35c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maud_lints/src/util.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use rustc::hir::def_id::DefId;
66
use rustc::lint::LateContext;
77
use rustc::ty;
8-
use syntax::symbol::{InternedString, Symbol};
8+
use syntax::symbol::{LocalInternedString, Symbol};
99

1010
/// Check if a `DefId`'s path matches the given absolute type path usage.
1111
///
@@ -15,7 +15,7 @@ use syntax::symbol::{InternedString, Symbol};
1515
/// ```
1616
pub fn match_def_path(cx: &LateContext, def_id: DefId, path: &[&str]) -> bool {
1717
struct AbsolutePathBuffer {
18-
names: Vec<InternedString>,
18+
names: Vec<LocalInternedString>,
1919
}
2020

2121
impl ty::item_path::ItemPathBuffer for AbsolutePathBuffer {

0 commit comments

Comments
 (0)