rust/src/test/run-pass/impl-implicit-trait.rs
2012-08-07 13:01:22 -07:00

20 lines
209 B
Rust

enum option_<T> {
none_,
some_(T),
}
impl<T> option_<T> {
fn foo() -> bool { true }
}
enum option__ {
none__,
some__(int)
}
impl option__ {
fn foo() -> bool { true }
}
fn main() {
}