Skip to content

They fixed it? #43

@CyanChanges

Description

@CyanChanges

with latest rust nightly toolchain
i have

nightly-x86_64-unknown-linux-gnu updated - rustc 1.83.0-nightly (2bd1e894e 2024-09-26) (from rustc 1.82.0-nightly (28a58f2fa 2024-07-31))

when i try compiling it
image

error: lifetime may not live long enough
  --> /home/cyan/.cargo/registry/src/mirrors.ustc.edu.cn-4affec411d11e50f/cve-rs-0.6.0/src/lifetime_expansion.rs:44:9
   |
43 | pub fn expand<'a, 'b, T>(x: &'a T) -> &'b T {
   |               --  -- lifetime `'b` defined here
   |               |
   |               lifetime `'a` defined here
44 |     let f: fn(_, &'a T) -> &'b T = lifetime_translator;
   |            ^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'a` must outlive `'b`
   |
   = help: consider adding the following bound: `'a: 'b`

hmmm..?
sus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions