blob: e9ca583005c12f5d43480260b4f4635b321c2768 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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() {
}
|