summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-11384.rs
blob: 0105b4d223e4dd174226b3f626b80e0c74736c30 (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass
// pretty-expanded FIXME #23616

trait Common { fn dummy(&self) { } }

impl<'t, T> Common for (T, &'t T) {}

impl<'t, T> Common for (&'t T, T) {}

fn main() {}