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

Commit d55504f

Browse files
committed
ices/79495.sh: fixed with errors
=== stdout === === stderr === error: generic parameters may not be used in enum discriminant values --> out.rs:9:35 | 9 | Some(T) = std::mem::size_of::<T>(), | ^ cannot perform const operation using `T` | = note: type parameters may not be used in enum discriminant values warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes --> out.rs:1:41 | 1 | #![feature(arbitrary_enum_discriminant, generic_const_exprs, core_intrinsics)] | ^^^^^^^^^^^^^^^^^^^ | = note: see issue #76560 <rust-lang/rust#76560> for more information = note: `#[warn(incomplete_features)]` on by default error[E0433]: failed to resolve: could not resolve path `T` --> out.rs:9:35 | 9 | Some(T) = std::mem::size_of::<T>(), | ^ could not resolve path `T` | = note: this error was originally ignored because you are running `rustdoc` = note: try running again with `rustc` or `cargo check` and you may get a more detailed error error: aborting due to 2 previous errors; 1 warning emitted For more information about this error, try `rustc --explain E0433`. ==============
1 parent bb6710b commit d55504f

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)