You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 23, 2024. It is now read-only.
=== stdout ===
=== stderr ===
error[E0658]: C-variadic functions are unstable
--> /home/runner/work/glacier/glacier/ices/86053.rs:3:1
|
3 | unsafe extern "C" fn ordering4<'a, F: H<&'static &'a ()>>(_: (), ...) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #44930 <rust-lang/rust#44930> for more information
= help: add `#![feature(c_variadic)]` to the crate attributes to enable
error[E0491]: in type `&'static &'a ()`, reference has a longer lifetime than the data it references
--> /home/runner/work/glacier/glacier/ices/86053.rs:3:39
|
3 | unsafe extern "C" fn ordering4<'a, F: H<&'static &'a ()>>(_: (), ...) {}
| ^^^^^^^^^^^^^^^^^^
|
= note: the pointer is valid for the static lifetime
note: but the referenced data is only valid for the lifetime `'a` as defined on the function body at 3:32
--> /home/runner/work/glacier/glacier/ices/86053.rs:3:32
|
3 | unsafe extern "C" fn ordering4<'a, F: H<&'static &'a ()>>(_: (), ...) {}
| ^^
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0491, E0658.
For more information about an error, try `rustc --explain E0491`.
==============
Co-authored-by: rustbot <[email protected]>
0 commit comments