Files
rust/tests/ui/enum/single-variant-enum-deref-error-9814.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
302 B
Plaintext
Raw Normal View History

2018-07-15 14:11:54 -07:00
error[E0614]: type `Foo` cannot be dereferenced
2025-07-13 16:39:45 -04:00
--> $DIR/single-variant-enum-deref-error-9814.rs:8:13
2018-07-15 14:11:54 -07:00
|
2019-03-09 15:03:44 +03:00
LL | let _ = *Foo::Bar(2);
| ^^^^^^^^^^^^ can't be dereferenced
2018-07-15 14:11:54 -07:00
error: aborting due to 1 previous error
2018-07-15 14:11:54 -07:00
For more information about this error, try `rustc --explain E0614`.