Skip to content

regression: overflow evaluating the requirement &_ well-formed #123278

Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum
[INFO] [stdout] error[E0275]: overflow evaluating the requirement `&_ well-formed`
[INFO] [stdout]    --> src/main.rs:155:23
[INFO] [stdout]     |
[INFO] [stdout] 155 |             let end = ns.get(1).unwrap_or(&start);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^

And probably the same for https://crater-reports.s3.amazonaws.com/beta-1.78-3/beta-2024-03-30/reg/zvariant-3.15.0/log.txt:

[INFO] [stdout] error[E0275]: overflow evaluating the requirement `NonNull<Vec<u8>>: Unpin`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`zvariant`)
[INFO] [stdout] note: required because it appears within the type `Unique<Vec<u8>>`
[INFO] [stdout]  --> /rustc/c1195518c8ad7f37d15ecb82f39dec3da97f9c2f/library/core/src/ptr/unique.rs:36:12
[INFO] [stdout] note: required because it appears within the type `alloc::raw_vec::RawVec<Vec<u8>>`
[INFO] [stdout]  --> /rustc/c1195518c8ad7f37d15ecb82f39dec3da97f9c2f/library/alloc/src/raw_vec.rs:69:19
[INFO] [stdout] note: required because it appears within the type `Vec<Vec<u8>>`
[INFO] [stdout]  --> /rustc/c1195518c8ad7f37d15ecb82f39dec3da97f9c2f/library/alloc/src/vec/mod.rs:398:12
[INFO] [stdout] note: required because it appears within the type `PhantomData<Vec<Vec<u8>>>`
[INFO] [stdout]  --> /rustc/c1195518c8ad7f37d15ecb82f39dec3da97f9c2f/library/core/src/marker.rs:740:12
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-inferenceArea: Type inferenceT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions