From 05fb7364c629add0a70d194f4f2bc89e993a1204 Mon Sep 17 00:00:00 2001 From: Erin <sylphofelectricity@gmail.com> Date: Sat, 28 Apr 2018 13:42:33 -0500 Subject: [PATCH] maud_lints: replace usage of InternedString by LocalInternedString refs: https://github.com/rust-lang/rust/pull/49894 --- maud_lints/src/util.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maud_lints/src/util.rs b/maud_lints/src/util.rs index 82d2d62..125b537 100644 --- a/maud_lints/src/util.rs +++ b/maud_lints/src/util.rs @@ -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 {