mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-22 03:44:24 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
14 lines
161 B
Rust
14 lines
161 B
Rust
//@ run-pass
|
|
|
|
pub trait Foo<T> {
|
|
fn func1<U>(&self, t: U, w: T);
|
|
|
|
fn func2<U>(&self, t: U, w: T) {
|
|
self.func1(t, w);
|
|
}
|
|
}
|
|
|
|
pub fn main() {
|
|
|
|
}
|