
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
14 lines
156 B
Rust
14 lines
156 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
// regression test for issue 4875
|
|
|
|
|
|
pub struct Foo<T> {
|
|
data: T,
|
|
}
|
|
|
|
fn foo<T>(Foo{..}: Foo<T>) {
|
|
}
|
|
|
|
pub fn main() {
|
|
}
|