error[E0271]: expected `as_slice` to return `&[_; 0]`, but it returns `&[usize]` --> C:\Users\User\Documents\Git\ARCADIA-Studio\.local\text-navigation-integration-20260911\source_symbols-v2-utf8.rs:543:81 | 543 | Definitions { index: self, indices: self.aliases.get(alias).map_or(&[], Vec::as_slice).iter(), domain } | ------ ^^^^^^^^^^^^^ expected `&[_; 0]`, found `&[usize]` | | | required by a bound introduced by this call | = note: expected reference `&[_; 0]` found reference `&[usize]` note: required by a bound in `Option::::map_or` --> /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\option.rs:1222:4 error[E0271]: expected `as_slice` to return `&[_; 0]`, but it returns `&[usize]` --> C:\Users\User\Documents\Git\ARCADIA-Studio\.local\text-navigation-integration-20260911\source_symbols-v2-utf8.rs:547:82 | 547 | Definitions { index: self, indices: self.identities.get(&id).map_or(&[], Vec::as_slice).iter(), domain } | ------ ^^^^^^^^^^^^^ expected `&[_; 0]`, found `&[usize]` | | | required by a bound introduced by this call | = note: expected reference `&[_; 0]` found reference `&[usize]` note: required by a bound in `Option::::map_or` --> /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\option.rs:1222:4 error[E0271]: expected `as_slice` to return `&[_; 0]`, but it returns `&[usize]` --> C:\Users\User\Documents\Git\ARCADIA-Studio\.local\text-navigation-integration-20260911\source_symbols-v2-utf8.rs:551:77 | 551 | References { index: self, indices: self.uses.get(alias).map_or(&[], Vec::as_slice).iter(), domain } | ------ ^^^^^^^^^^^^^ expected `&[_; 0]`, found `&[usize]` | | | required by a bound introduced by this call | = note: expected reference `&[_; 0]` found reference `&[usize]` note: required by a bound in `Option::::map_or` --> /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\option.rs:1222:4 error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0271`.