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: 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`.
==============
0 commit comments