2019-11-03 18:00:00 -06:00
|
|
|
// check-pass
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2015-02-12 09:29:52 -06: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() {}
|