
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
10 lines
168 B
Rust
10 lines
168 B
Rust
//@ run-pass
|
|
|
|
#![allow(dead_code)]
|
|
#![allow(unreachable_code)]
|
|
|
|
use std::ops::Add;
|
|
|
|
fn wsucc<T:Add<Output=T> + Copy>(n: T) -> T { n + { return n } }
|
|
|
|
pub fn main() { }
|