summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/issues/issue-67945-2.min.stderr
blob: 6e07af1e672a8ed03c29b7365d8c92fb20d3b707 (plain)
1
2
3
4
5
6
7
8
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