Skip to content

Make the Forget trait an implicit bound, matching current behavior of generic types - #165542

Open
jdonszelmann wants to merge 2 commits into
rust-lang:mainfrom
jdonszelmann:forget-trait-implicit-bound
Open

jdonszelmann wants to merge 2 commits into
rust-lang:mainfrom
jdonszelmann:forget-trait-implicit-bound

Conversation

@jdonszelmann

@jdonszelmann jdonszelmann commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

r? @clarfonthey

Based on earlier work by zetanumbers in #150315

Note

I've not used an LLM for any part of this PR, or any other PR I make. This includes any related work like research.

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 6, 2026
@jdonszelmann
jdonszelmann force-pushed the forget-trait-implicit-bound branch from 3f07a60 to 4da21fe Compare November 6, 2026 09:26
@jdonszelmann
jdonszelmann marked this pull request as ready for review November 6, 2026 09:27
@rustbot

rustbot commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

HIR ty lowering was modified

cc @fmease

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 6, 2026
@jdonszelmann

Copy link
Copy Markdown
Contributor Author

@bors try @rust-timer queue

this might be bad for perf...

@rust-timer

Copy link
Copy Markdown
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Nov 6, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 6, 2026
…try>

Make the `Forget` trait an implicit bound, matching current behavior of generic types
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job dist-aarch64-linux-quick failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
##[endgroup]
[2026-11-06T09:32:58.765Z INFO  opt_dist::timer] Section `Stage 1 (Rustc + rustdoc + cargo + clippy PGO)` starts
[2026-11-06T09:32:58.765Z INFO  opt_dist::timer] Section `Stage 1 (Rustc + rustdoc + cargo + clippy PGO) > Build PGO instrumented rustc and LLVM` starts
[2026-11-06T09:32:58.765Z INFO  opt_dist::exec] Executing `RUST_BACKTRACE=full python3 /checkout/x.py build --target aarch64-unknown-linux-gnu --host aarch64-unknown-linux-gnu --stage 2 library/std --set rust.llvm-bitcode-linker=false --set build.extended=false --set rust.codegen-backends=['llvm'] --set rust.deny-warnings=false rustdoc cargo --set pgo.rustc.generate="/tmp/tmp-multistage/opt-artifacts/rustc-pgo" --set pgo.cargo.generate="/tmp/tmp-multistage/opt-artifacts/rustc-pgo" --set pgo.rustdoc.generate="/tmp/tmp-multistage/opt-artifacts/rustc-pgo" --set llvm.thin-lto=false --set llvm.link-shared=true [at /checkout/obj]`
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.03s
##[endgroup]
[TIMING:start] compile::Assemble { target_compiler: Compiler { stage: 2, host: aarch64-unknown-linux-gnu, forced_compiler: false } }
[TIMING:start] builder::Libdir { compiler: Compiler { stage: 2, host: aarch64-unknown-linux-gnu, forced_compiler: false }, target: aarch64-unknown-linux-gnu }
---
[RUSTC-TIMING] unic_langid_macros_impl test:false 0.198
   Compiling darling_macro v0.20.11
[RUSTC-TIMING] bstr test:false 1.973
   Compiling ref-cast-impl v1.0.25
error[E0478]: lifetime bound not satisfied
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:164:19
    |
164 |     type Output = ZeroMapBorrowed<'a, K, V>;
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^
    |
note: lifetime parameter instantiated with the lifetime `'a` as defined here
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:157:13
    |
157 | unsafe impl<'a, K, V> Yokeable<'a> for ZeroMapBorrowed<'static, K, V>
    |             ^^
    = note: but lifetime parameter must outlive the static lifetime

error[E0478]: lifetime bound not satisfied
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:260:19
    |
260 |     type Output = ZeroMap2dBorrowed<'a, K0, K1, V>;
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
note: lifetime parameter instantiated with the lifetime `'a` as defined here
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:251:13
    |
251 | unsafe impl<'a, K0, K1, V> Yokeable<'a> for ZeroMap2dBorrowed<'static, K0, K1, V>
    |             ^^
    = note: but lifetime parameter must outlive the static lifetime

[RUSTC-TIMING] darling_macro test:false 0.126
   Compiling darling v0.20.11
---
[RUSTC-TIMING] ref_cast test:false 0.023
   Compiling rustc_type_ir_macros v0.0.0 (/checkout/compiler/rustc_type_ir_macros)
[RUSTC-TIMING] fluent_bundle test:false 0.369
error: lifetime may not live long enough
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:171:13
    |
157 | unsafe impl<'a, K, V> Yokeable<'a> for ZeroMapBorrowed<'static, K, V>
    |             -- lifetime `'a` defined here
...
171 |             mem::transmute::<&Self, &Self::Output>(self)
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:176:23
    |
157 | unsafe impl<'a, K, V> Yokeable<'a> for ZeroMapBorrowed<'static, K, V>
    |             -- lifetime `'a` defined here
...
176 |         debug_assert!(size_of::<Self::Output>() == size_of::<Self>());
    |                       ^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:187:23
    |
157 | unsafe impl<'a, K, V> Yokeable<'a> for ZeroMapBorrowed<'static, K, V>
    |             -- lifetime `'a` defined here
...
187 |         debug_assert!(size_of::<Self::Output>() == size_of::<Self>());
    |                       ^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:197:20
    |
157 | unsafe impl<'a, K, V> Yokeable<'a> for ZeroMapBorrowed<'static, K, V>
    |             -- lifetime `'a` defined here
...
197 |         unsafe { f(mem::transmute::<&mut Self, &mut Self::Output>(self)) }
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:267:13
    |
251 | unsafe impl<'a, K0, K1, V> Yokeable<'a> for ZeroMap2dBorrowed<'static, K0, K1, V>
    |             -- lifetime `'a` defined here
...
267 |             mem::transmute::<&Self, &Self::Output>(self)
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:272:23
    |
251 | unsafe impl<'a, K0, K1, V> Yokeable<'a> for ZeroMap2dBorrowed<'static, K0, K1, V>
    |             -- lifetime `'a` defined here
...
272 |         debug_assert!(size_of::<Self::Output>() == size_of::<Self>());
    |                       ^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:283:23
    |
251 | unsafe impl<'a, K0, K1, V> Yokeable<'a> for ZeroMap2dBorrowed<'static, K0, K1, V>
    |             -- lifetime `'a` defined here
...
283 |         debug_assert!(size_of::<Self::Output>() == size_of::<Self>());
    |                       ^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/25cdd57fae9f0462/zerovec-0.11.7/src/yoke_impls.rs:293:20
    |
251 | unsafe impl<'a, K0, K1, V> Yokeable<'a> for ZeroMap2dBorrowed<'static, K0, K1, V>
    |             -- lifetime `'a` defined here
...
293 |         unsafe { f(mem::transmute::<&mut Self, &mut Self::Output>(self)) }
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

[RUSTC-TIMING] derive_setters test:false 0.319
   Compiling derive-where v1.6.1
For more information about this error, try `rustc --explain E0478`.
[RUSTC-TIMING] zerovec test:false 0.610
---
warning: rustc_llvm@0.0.0: Inherited flag "-fembed-bitcode=all" is not supported by the currently used CC
warning: rustc_llvm@0.0.0: Inherited flag "-fembed-bitcode=all" is not supported by the currently used CC
warning: rustc_llvm@0.0.0: Inherited flag "-fembed-bitcode=all" is not supported by the currently used CC
warning: rustc_llvm@0.0.0: Inherited flag "-fembed-bitcode=all" is not supported by the currently used CC
Bootstrap failed while executing `build --target aarch64-unknown-linux-gnu --host aarch64-unknown-linux-gnu --stage 2 library/std --set rust.llvm-bitcode-linker=false --set build.extended=false --set rust.codegen-backends=['llvm'] --set rust.deny-warnings=false rustdoc cargo --set pgo.rustc.generate="/tmp/tmp-multistage/opt-artifacts/rustc-pgo" --set pgo.cargo.generate="/tmp/tmp-multistage/opt-artifacts/rustc-pgo" --set pgo.rustdoc.generate="/tmp/tmp-multistage/opt-artifacts/rustc-pgo" --set llvm.thin-lto=false --set llvm.link-shared=true`
Currently active steps:
compile::Assemble { target_compiler: Compiler { stage: 2, host: aarch64-unknown-linux-gnu, forced_compiler: false } } at src/bootstrap/src/core/build_steps/compile.rs:143
compile::Rustc { target: aarch64-unknown-linux-gnu, build_compiler: Compiler { stage: 1, host: aarch64-unknown-linux-gnu, forced_compiler: false }, crates: [] } at src/bootstrap/src/core/build_steps/compile.rs:2341
Build completed unsuccessfully in 0:06:38
[2026-11-06T09:39:37.535Z INFO  opt_dist::timer] Section `Stage 1 (Rustc + rustdoc + cargo + clippy PGO) > Build PGO instrumented rustc and LLVM` ended: FAIL (398.77s)`
---
[2026-11-06T09:39:37.536Z INFO  opt_dist::utils] Free disk space: 2.34 TiB out of total 2.54 TiB (8.18% used)
Error: Optimized build pipeline has failed

Caused by:
    Command RUST_BACKTRACE=full python3 /checkout/x.py build --target aarch64-unknown-linux-gnu --host aarch64-unknown-linux-gnu --stage 2 library/std --set rust.llvm-bitcode-linker=false --set build.extended=false --set rust.codegen-backends=['llvm'] --set rust.deny-warnings=false rustdoc cargo --set pgo.rustc.generate="/tmp/tmp-multistage/opt-artifacts/rustc-pgo" --set pgo.cargo.generate="/tmp/tmp-multistage/opt-artifacts/rustc-pgo" --set pgo.rustdoc.generate="/tmp/tmp-multistage/opt-artifacts/rustc-pgo" --set llvm.thin-lto=false --set llvm.link-shared=true [at /checkout/obj] has failed with exit code Some(1)

Stack backtrace:
   0: <anyhow::Error>::msg::<alloc::string::String>
             at /cargo/registry/25cdd57fae9f0462/anyhow-1.0.102/src/backtrace.rs:10:14
   1: <opt_dist::exec::CmdBuilder>::run
             at /rustc/6b1363f94910f47a99e3322a6e1bed090692c94b/src/tools/opt-dist/src/exec.rs:84:17
   2: <opt_dist::exec::Bootstrap>::run
             at /rustc/6b1363f94910f47a99e3322a6e1bed090692c94b/src/tools/opt-dist/src/exec.rs:296:18
   3: opt_dist::execute_pipeline::{closure#1}::{closure#0}
             at /rustc/6b1363f94910f47a99e3322a6e1bed090692c94b/src/tools/opt-dist/src/main.rs:275:25
   4: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}::{closure#0}, ()>
             at /rustc/6b1363f94910f47a99e3322a6e1bed090692c94b/src/tools/opt-dist/src/timer.rs:111:22
   5: opt_dist::execute_pipeline::{closure#1}
             at /rustc/6b1363f94910f47a99e3322a6e1bed090692c94b/src/tools/opt-dist/src/main.rs:249:19
   6: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}, (opt_dist::training::RustcPGOProfile, opt_dist::training::RustdocPGOProfile, core::option::Option<opt_dist::training::ClippyPGOProfile>, core::option::Option<opt_dist::training::CraneliftPGOProfile>)>
             at /rustc/6b1363f94910f47a99e3322a6e1bed090692c94b/src/tools/opt-dist/src/timer.rs:111:22
   7: opt_dist::execute_pipeline
             at /rustc/6b1363f94910f47a99e3322a6e1bed090692c94b/src/tools/opt-dist/src/main.rs:246:10
   8: opt_dist::main
             at /rustc/6b1363f94910f47a99e3322a6e1bed090692c94b/src/tools/opt-dist/src/main.rs:552:18
   9: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/ops/function.rs:250:5
  10: std::sys::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>>
             at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/sys/backtrace.rs:166:18
  11: std::rt::lang_start::<core::result::Result<(), anyhow::Error>>::{closure#0}
             at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/rt.rs:206:18
  12: <&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe as core::ops::function::FnOnce<()>>::call_once
             at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/ops/function.rs:287:21
  13: std::panicking::catch_unwind::do_call::<&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe, i32>
             at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:573:43
  14: std::panicking::catch_unwind::<i32, &dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe>
             at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:541:19
  15: std::panic::catch_unwind::<&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe, i32>
             at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panic.rs:359:14
  16: std::rt::lang_start_internal::{closure#0}
             at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/rt.rs:175:24
  17: std::panicking::catch_unwind::do_call::<std::rt::lang_start_internal::{closure#0}, isize>
             at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/std/src/panicking.rs:573:43

@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 6, 2026
@rust-bors

rust-bors Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 6b1363f failed: CI. Failed jobs:

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-x86_64-gnu-gcc failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
   Compiling fluent-syntax v0.12.0
error[E0478]: lifetime bound not satisfied
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:164:19
    |
164 |     type Output = ZeroMapBorrowed<'a, K, V>;
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^
    |
note: lifetime parameter instantiated with the lifetime `'a` as defined here
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:157:13
    |
157 | unsafe impl<'a, K, V> Yokeable<'a> for ZeroMapBorrowed<'static, K, V>
    |             ^^
    = note: but lifetime parameter must outlive the static lifetime

error[E0478]: lifetime bound not satisfied
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:260:19
    |
260 |     type Output = ZeroMap2dBorrowed<'a, K0, K1, V>;
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
note: lifetime parameter instantiated with the lifetime `'a` as defined here
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:251:13
    |
251 | unsafe impl<'a, K0, K1, V> Yokeable<'a> for ZeroMap2dBorrowed<'static, K0, K1, V>
    |             ^^
    = note: but lifetime parameter must outlive the static lifetime

[RUSTC-TIMING] fluent_syntax test:false 0.410
   Compiling intl_pluralrules v7.0.2
---
   Compiling either v1.15.0
error: lifetime may not live long enough
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:171:13
    |
157 | unsafe impl<'a, K, V> Yokeable<'a> for ZeroMapBorrowed<'static, K, V>
    |             -- lifetime `'a` defined here
...
171 |             mem::transmute::<&Self, &Self::Output>(self)
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:176:23
    |
157 | unsafe impl<'a, K, V> Yokeable<'a> for ZeroMapBorrowed<'static, K, V>
    |             -- lifetime `'a` defined here
...
176 |         debug_assert!(size_of::<Self::Output>() == size_of::<Self>());
    |                       ^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:187:23
    |
157 | unsafe impl<'a, K, V> Yokeable<'a> for ZeroMapBorrowed<'static, K, V>
    |             -- lifetime `'a` defined here
...
187 |         debug_assert!(size_of::<Self::Output>() == size_of::<Self>());
    |                       ^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:197:20
    |
157 | unsafe impl<'a, K, V> Yokeable<'a> for ZeroMapBorrowed<'static, K, V>
    |             -- lifetime `'a` defined here
...
197 |         unsafe { f(mem::transmute::<&mut Self, &mut Self::Output>(self)) }
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:267:13
    |
251 | unsafe impl<'a, K0, K1, V> Yokeable<'a> for ZeroMap2dBorrowed<'static, K0, K1, V>
    |             -- lifetime `'a` defined here
...
267 |             mem::transmute::<&Self, &Self::Output>(self)
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:272:23
    |
251 | unsafe impl<'a, K0, K1, V> Yokeable<'a> for ZeroMap2dBorrowed<'static, K0, K1, V>
    |             -- lifetime `'a` defined here
...
272 |         debug_assert!(size_of::<Self::Output>() == size_of::<Self>());
    |                       ^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:283:23
    |
251 | unsafe impl<'a, K0, K1, V> Yokeable<'a> for ZeroMap2dBorrowed<'static, K0, K1, V>
    |             -- lifetime `'a` defined here
...
283 |         debug_assert!(size_of::<Self::Output>() == size_of::<Self>());
    |                       ^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: lifetime may not live long enough
   --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zerovec-0.11.7/src/yoke_impls.rs:293:20
    |
251 | unsafe impl<'a, K0, K1, V> Yokeable<'a> for ZeroMap2dBorrowed<'static, K0, K1, V>
    |             -- lifetime `'a` defined here
...
293 |         unsafe { f(mem::transmute::<&mut Self, &mut Self::Output>(self)) }
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

For more information about this error, try `rustc --explain E0478`.
[RUSTC-TIMING] zerovec test:false 1.473
error: could not compile `zerovec` (lib) due to 10 previous errors
warning: build failed, waiting for other jobs to finish...

Important

For more information how to resolve CI failures of this job, visit this link.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-perf Status: Waiting on a perf run to be completed. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants