extensible 0.0.1

A plugin to prevent exhaustive matches from being used on enums marked as 'extensible'
1
2
3
4
5
6
7
8
9
10
11
#![feature(plugin, custom_attribute)]
#![plugin(extensible)]


fn main() {
    let x = Foo;
    bar(FooBar::Foo(x)); //~ ERROR #[no_move] type `Foo` moved
}

#[extensible]
enum F