mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 11:17:26 +03:00
95ff642797
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
10 lines
143 B
Rust
10 lines
143 B
Rust
//@ check-pass
|
|
|
|
trait Common { fn dummy(&self) { } }
|
|
|
|
impl<'t, T> Common for (T, &'t T) {}
|
|
|
|
impl<'t, T> Common for (&'t T, T) {}
|
|
|
|
fn main() {}
|