2019-11-04 00:00:00 +00:00
|
|
|
//@ check-pass
|
2015-03-22 13:13:15 -07:00
|
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
|
2015-02-12 10:29:52 -05:00
|
|
|
trait Common { fn dummy(&self) { } }
|
2014-10-14 10:24:25 -05:00
|
|
|
|
|
|
|
impl<'t, T> Common for (T, &'t T) {}
|
|
|
|
|
|
|
|
impl<'t, T> Common for (&'t T, T) {}
|
|
|
|
|
|
|
|
fn main() {}
|