This repository was archived by the owner on May 23, 2024. It is now read-only.
Commit ce27e32
committed
ices/56445-2.rs: fixed with errors
=== stdout ===
=== stderr ===
warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes
--> /home/runner/work/glacier/glacier/ices/56445-2.rs:1:12
|
1 | #![feature(const_generics)]
| ^^^^^^^^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #44580 <rust-lang/rust#44580> for more information
error[E0771]: use of non-static lifetime `'a` in const generic
--> /home/runner/work/glacier/glacier/ices/56445-2.rs:6:26
|
6 | struct Bug<'a, const S: &'a str>(PhantomData<&'a ()>);
| ^^
|
= note: for more information, see issue #74052 <rust-lang/rust#74052>
error: aborting due to previous error; 1 warning emitted
For more information about this error, try `rustc --explain E0771`.
==============1 parent 3c602de commit ce27e32
1 file changed
File renamed without changes.
0 commit comments