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
error[E0080]: evaluation panicked: assertion failed: N == mem::size_of::<T::Type>()
5
+
--> /git/monostate/src/string.rs:46:13
6
+
|
7
+
46 | assert!(N == mem::size_of::<T::Type>());
8
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `<(monostate::alphabet::len<8>, (monostate::alphabet::char<'a'>, monostate::alphabet::char<'s'>, monostate::alphabet::char<'d'>, monostate::alphabet::char<'f'>)) as monostate::string::Sealed>::__private::{constant#0}` failed here
9
+
10
+
note: erroneous constant encountered
11
+
--> /git/monostate/src/string.rs:45:9
12
+
|
13
+
45 | / const {
14
+
46 | | assert!(N == mem::size_of::<T::Type>());
15
+
47 | | }
16
+
| |_________^
17
+
18
+
note: erroneous constant encountered
19
+
--> /git/monostate/src/string.rs:29:33
20
+
|
21
+
29 | const VALUE: &'static str = T::__private.0;
22
+
| ^^^^^^^^^^^^
23
+
24
+
note: erroneous constant encountered
25
+
--> /git/monostate/src/value.rs:132:37
26
+
|
27
+
132 | pub const VALUE: &'static str = V::VALUE;
28
+
| ^^^^^^^^
29
+
""
30
+
error[E0080]: evaluation panicked: assertion failed: N == mem::size_of::<T::Type>()
31
+
--> $WORKSPACE/src/string.rs
32
+
|
33
+
| assert!(N == mem::size_of::<T::Type>());
34
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `<(monostate::alphabet::len<8>, (monostate::alphabet::char<'a'>, monostate::alphabet::char<'s'>, monostate::alphabet::char<'d'>, monostate::alphabet::char<'f'>)) as monostate::string::Sealed>::__private::{constant#0}` failed here
0 commit comments