summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/issues/issue-56445-2.stderr
blob: 770c80cbbd305ca8456186e2679064f7f65bacd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: generic `Self` types are currently not permitted in anonymous constants
  --> $DIR/issue-56445-2.rs:7:38
   |
LL |     fn lfn_contents(&self) -> [char; Self::LFN_FRAGMENT_LEN] { loop { } }
   |                                      ^^^^
   |
note: not a concrete type
  --> $DIR/issue-56445-2.rs:4:10
   |
LL | impl<'a> OnDiskDirEntry<'a> {
   |          ^^^^^^^^^^^^^^^^^^

error: aborting due to previous error