rust/src/test/ui/enum-discriminant/issue-70453-generics-in-discr-ice-2.stderr

11 lines
321 B
Plaintext
Raw Normal View History

error: constant expression depends on a generic parameter
--> $DIR/issue-70453-generics-in-discr-ice-2.rs:9:15
|
LL | Some(T) = std::mem::size_of::<T>(),
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this may fail depending on what value the parameter takes
error: aborting due to previous error