10 lines
139 B
Rust
10 lines
139 B
Rust
//@ no-prefer-dynamic
|
|
//@ compile-flags: -O
|
|
|
|
pub trait Compare {
|
|
fn eq(self);
|
|
}
|
|
|
|
pub fn wrap<A: Compare>(a: A) {
|
|
Compare::eq(a);
|
|
}
|