mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-27 18:56:24 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
8 lines
80 B
Rust
8 lines
80 B
Rust
//@ run-pass
|
|
|
|
fn f<T: 'static>(_x: T) {}
|
|
|
|
pub fn main() {
|
|
f(Box::new(5));
|
|
}
|