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] e