Strip more references

This commit is contained in:
David Tolnay
2016-05-18 23:46:06 -07:00
parent 16d3e96b77
commit f1b4072444
2 changed files with 10 additions and 4 deletions
+6
View File
@@ -49,6 +49,12 @@ enum EnumWith<T> {
i: i32 },
}
#[derive(Serialize)]
struct MultipleRef<'a, 'b, 'c, T> where T: 'c, 'c: 'b, 'b: 'a {
t: T,
rrrt: &'a &'b &'c T,
}
//////////////////////////////////////////////////////////////////////////
fn ser_i32<S: Serializer>(_: &i32, _: &mut S) -> Result<(), S::Error> { panic!() }