]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/hir/mod.rs
rustc: use DefKind instead of Def, where possible.
[rust.git] / src / librustc / hir / mod.rs
index f474ab1a1a5bc52009ae853dfa33726d2367491e..833983d3576f5b4dee6b03578335fb62ae3669bf 100644 (file)
@@ -2521,7 +2521,7 @@ pub struct TraitCandidate {
 
 pub fn provide(providers: &mut Providers<'_>) {
     check_attr::provide(providers);
-    providers.describe_def = map::describe_def;
+    providers.def_kind = map::def_kind;
 }
 
 #[derive(Clone, RustcEncodable, RustcDecodable, HashStable)]