about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/query/mod.rs
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2020-11-25 12:53:52 -0300
committerSantiago Pastorino <spastorino@gmail.com>2020-11-27 11:23:53 -0300
commit35bf466a2764abde4c78389c5fc91ca9c4e9ab28 (patch)
treeca810a948b665af347da7df0fc8c5a5d921743e7 /compiler/rustc_middle/src/query/mod.rs
parenta6136d8b8324afbbed8fc7e4c3533d3e509a91fc (diff)
downloadrust-35bf466a2764abde4c78389c5fc91ca9c4e9ab28.tar.gz
rust-35bf466a2764abde4c78389c5fc91ca9c4e9ab28.zip
Remove super_traits_of query, just leave a helper function
Diffstat (limited to 'compiler/rustc_middle/src/query/mod.rs')
-rw-r--r--compiler/rustc_middle/src/query/mod.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs
index aba534ac19f..b516810205f 100644
--- a/compiler/rustc_middle/src/query/mod.rs
+++ b/compiler/rustc_middle/src/query/mod.rs
@@ -436,12 +436,6 @@ rustc_queries! {
             desc { |tcx| "computing the super predicates of `{}`", tcx.def_path_str(key) }
         }
 
-        /// Maps from the `DefId` of a trait to the list of
-        /// all the ancestors super traits.
-        query super_traits_of(key: DefId) -> Lrc<FxHashSet<DefId>> {
-            desc { |tcx| "computing the super traits of `{}`", tcx.def_path_str(key) }
-        }
-
         /// The `Option<Ident>` is the name of an associated type. If it is `None`, then this query
         /// returns the full set of predicates. If `Some<Ident>`, then the query returns only the
         /// subset of super-predicates that reference traits that define the given associated type.