12 lines
120 B
Rust
12 lines
120 B
Rust
use inherent::inherent;
|
|
|
|
trait A {
|
|
fn a(&self);
|
|
}
|
|
|
|
#[inherent]
|
|
impl<T> A for T {
|
|
fn a(&self) {}
|
|
}
|
|
|
|
fn main() {}
|