mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
9 lines
239 B
Plaintext
9 lines
239 B
Plaintext
error: generic `Self` types are currently not permitted in anonymous constants
|
|
--> $DIR/issue-67945-2.rs:9:27
|
|
|
|
|
LL | let x: Option<Box<Self>> = None;
|
|
| ^^^^
|
|
|
|
error: aborting due to previous error
|
|
|