mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 20:47:36 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
11 lines
109 B
Rust
11 lines
109 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
// Issue #976
|
|
|
|
|
|
|
|
fn f<T>(x: Box<T>) {
|
|
let _x2 = x;
|
|
}
|
|
pub fn main() { }
|