maud_lints: replace usage of InternedString by LocalInternedString

refs: https://github.com/rust-lang/rust/pull/49894
This commit is contained in:
Erin 2018-04-28 13:42:33 -05:00 committed by Chris Wong
parent e606e64ef2
commit 05fb7364c6

View file

@ -5,7 +5,7 @@
use rustc::hir::def_id::DefId;
use rustc::lint::LateContext;
use rustc::ty;
use syntax::symbol::{InternedString, Symbol};
use syntax::symbol::{LocalInternedString, Symbol};
/// Check if a `DefId`'s path matches the given absolute type path usage.
///
@ -15,7 +15,7 @@ use syntax::symbol::{InternedString, Symbol};
/// ```
pub fn match_def_path(cx: &LateContext, def_id: DefId, path: &[&str]) -> bool {
struct AbsolutePathBuffer {
names: Vec<InternedString>,
names: Vec<LocalInternedString>,
}
impl ty::item_path::ItemPathBuffer for AbsolutePathBuffer {