mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
update docs for type_implements_trait
This commit is contained in:
@@ -44,6 +44,10 @@ fn partially_normalize_associated_types_in<T>(
|
||||
/// - the self type
|
||||
/// - the *other* type parameters of the trait, excluding the self-type
|
||||
/// - the parameter environment
|
||||
///
|
||||
/// Invokes `evaluate_obligation`, so in the event that evaluating
|
||||
/// `Ty: Trait` causes overflow, EvaluatedToRecur (or EvaluatedToUnknown)
|
||||
/// will be returned.
|
||||
fn type_implements_trait(
|
||||
&self,
|
||||
trait_def_id: DefId,
|
||||
|
||||
Reference in New Issue
Block a user