]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/query/mod.rs
rustc: use DefKind instead of Def, where possible.
[rust.git] / src / librustc / query / mod.rs
index b96ef1b7a869bd0a8711ba804348ece050263342..e1e115cfe177b6539dc9db6edf551e67a935545c 100644 (file)
             cache { true }
         }
 
-        query describe_def(_: DefId) -> Option<Def> {}
+        query def_kind(_: DefId) -> Option<DefKind> {}
         query def_span(_: DefId) -> Span {
             // FIXME(mw): DefSpans are not really inputs since they are derived from
             // HIR. But at the moment HIR hashing still contains some hacks that allow