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