rust/tests/ui/const-generics/issues/issue-67945-2.min.stderr

9 lines
239 B
Plaintext
Raw Normal View History

error: generic `Self` types are currently not permitted in anonymous constants
--> $DIR/issue-67945-2.rs:9:27
2020-10-03 11:00:18 -05:00
|
LL | let x: Option<Box<Self>> = None;
| ^^^^
2020-10-03 11:00:18 -05:00
error: aborting due to previous error
2020-10-03 11:00:18 -05:00