mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-10 17:07:36 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
10 lines
120 B
Rust
10 lines
120 B
Rust
//@ run-pass
|
|
|
|
#[derive(Clone)]
|
|
#[allow(dead_code)]
|
|
struct S<T>(T, ());
|
|
|
|
pub fn main() {
|
|
let _ = S(1, ()).clone();
|
|
}
|