Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions maud_lints/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand All @@ -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 {
Expand Down