X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_typeck%2Fsrc%2Fconstrained_generic_params.rs;h=7f2e57e61098f1c306c78851b916582efc47253f;hb=b17e9d76f2ad15022e0e69bc33745c4ef9025a8f;hp=6f764a952c02274041fa4ce12a26b3e65f843084;hpb=102bbc9ad3021acb3479aab79f0d36c5e025dd1c;p=rust.git diff --git a/compiler/rustc_typeck/src/constrained_generic_params.rs b/compiler/rustc_typeck/src/constrained_generic_params.rs index 6f764a952c0..7f2e57e6109 100644 --- a/compiler/rustc_typeck/src/constrained_generic_params.rs +++ b/compiler/rustc_typeck/src/constrained_generic_params.rs @@ -109,9 +109,9 @@ pub fn identify_constrained_generic_params<'tcx>( /// constrained before it is used, if that is possible, and add the /// parameters so constrained to `input_parameters`. For example, /// imagine the following impl: -/// -/// impl> Trait for U -/// +/// ```ignore (illustrative) +/// impl> Trait for U +/// ``` /// The impl's predicates are collected from left to right. Ignoring /// the implicit `Sized` bounds, these are /// * T: Debug