Added the third parameter to the "add second lifetime bound to method type parameter"

This commit is contained in:
Andrea Pretto 2016-10-05 23:02:01 +02:00
parent a12d763602
commit 0004698a88

View file

@ -477,7 +477,7 @@ trait TraitAddSecondBuiltinBoundToMethodTypeParameter {
// Add second lifetime bound to method type parameter -----------------------------
#[cfg(cfail1)]
trait TraitAddSecondLifetimeBoundToMethodTypeParameter {
fn method<'a, 'b, 'c: 'a>(a: &'a u32, b: &'b u32);
fn method<'a, 'b, 'c: 'a>(a: &'a u32, b: &'b u32, c: &'c u32);
}
#[cfg(not(cfail1))]