mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00
10 lines
302 B
Plaintext
10 lines
302 B
Plaintext
error[E0614]: type `Foo` cannot be dereferenced
|
|
--> $DIR/single-variant-enum-deref-error-9814.rs:8:13
|
|
|
|
|
LL | let _ = *Foo::Bar(2);
|
|
| ^^^^^^^^^^^^ can't be dereferenced
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0614`.
|