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