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 b916ac6 commit af38d71Copy full SHA for af38d71
compiler/rustc_typeck/src/collect.rs
@@ -1115,6 +1115,9 @@ fn super_predicates_that_define_assoc_type(
1115
}
1116
1117
1118
+/// Ensures that the super traits of the trait with a `DefId`
1119
+/// of `trait_def_id` are converted and stored. This also ensures that
1120
+/// the transitive super traits are converted.
1121
fn super_traits_of(tcx: TyCtxt<'_>, trait_def_id: DefId) -> FxHashSet<DefId> {
1122
let mut set = FxHashSet::default();
1123
let mut stack = vec![trait_def_id];
0 commit comments