1 error[E0614]: type `Foo` cannot be dereferenced
2 --> $DIR/issue-9814.rs:17:13
4 LL | let _ = *Foo::Bar(2); //~ ERROR type `Foo` cannot be dereferenced
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0614`.