Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 44af145

Browse files
ices/86053.rs: fixed with errors (#833)
=== 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]>
1 parent 580af90 commit 44af145

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)