Skip to content

Fix warnings

3c5e710
Select commit
Loading
Failed to load commit list.
Open

Exclude development scripts from published package #16

Fix warnings
3c5e710
Select commit
Loading
Failed to load commit list.
Cirrus CI / stable failed Dec 16, 2025 in 32s

Task Summary

Instruction check failed in 00:26

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:00 clone
✅ 00:01 cargo
✅ 00:01 target
✅ 00:01 setup
✅ 00:01 info
❌ 00:26 check

    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
    |
634 |     fn utf8chars(&self) -> Utf8Chars<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> src/traits.rs:637:19
    |
637 |     fn utf16chars(&self) -> Utf16Chars {
    |                   ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
    |                   |
    |                   the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
637 |     fn utf16chars(&self) -> Utf16Chars<'_> {
    |                                       ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> src/traits.rs:640:25
    |
640 |     fn utf8char_indices(&self) -> Utf8CharIndices {
    |                         ^^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
640 |     fn utf8char_indices(&self) -> Utf8CharIndices<'_> {
    |                                                  ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> src/traits.rs:643:26
    |
643 |     fn utf16char_indices(&self) -> Utf16CharIndices {
    |                          ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                          |
    |                          the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
643 |     fn utf16char_indices(&self) -> Utf16CharIndices<'_> {
    |                                                    ++++

warning: `encode_unicode` (lib) generated 10 warnings
error: could not compile `encode_unicode` (lib) due to 1 previous error; 10 warnings emitted

Exit status: 101