We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e606e64 commit 6dd35c7Copy full SHA for 6dd35c7
maud_lints/src/util.rs
@@ -5,7 +5,7 @@
5
use rustc::hir::def_id::DefId;
6
use rustc::lint::LateContext;
7
use rustc::ty;
8
-use syntax::symbol::{InternedString, Symbol};
+use syntax::symbol::{LocalInternedString, Symbol};
9
10
/// Check if a `DefId`'s path matches the given absolute type path usage.
11
///
@@ -15,7 +15,7 @@ use syntax::symbol::{InternedString, Symbol};
15
/// ```
16
pub fn match_def_path(cx: &LateContext, def_id: DefId, path: &[&str]) -> bool {
17
struct AbsolutePathBuffer {
18
- names: Vec<InternedString>,
+ names: Vec<LocalInternedString>,
19
}
20
21
impl ty::item_path::ItemPathBuffer for AbsolutePathBuffer {
0 commit comments