34//!
35//! Similarly generics, predicates and header are set to the "default" values.
36▶//! In case of discrepancy with callee function the `UnsupportedDelegation` error will
37//! also be emitted during HIR ty lowering.
38
· · ·
54use rustc_span::def_id::{DefId, LocalDefId};
55use rustc_span::symbol::kw;
56▶use rustc_span::{ErrorGuaranteed, Ident, Span, Symbol};
57
58use crate::delegation::generics::{GenericsGenerationResult, GenericsGenerationResults};
· · ·
130 }
131
132▶ fn check_for_cycles(&self, mut def_id: DefId, span: Span) -> Result<(), ErrorGuaranteed> {
133 let mut visited: FxHashSet<DefId> = Default::default();
134
· · ·
169 );
170
171▶ return self.generate_delegation_error(span, delegation);
172 };
173
· · ·
182 );
183
184▶ return self.generate_delegation_error(span, delegation);
185 };
186
+ 8 more matches in this file