2021-08-27 11:04:57 -05:00
|
|
|
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
|
|
|
|
|
2021-08-27 11:04:57 -05:00
|
|
|
LL | let x: Option<Box<Self>> = None;
|
|
|
|
| ^^^^
|
2020-10-03 11:00:18 -05:00
|
|
|
|
2021-08-27 11:04:57 -05:00
|
|
|
error: aborting due to previous error
|
2020-10-03 11:00:18 -05:00
|
|
|
|