We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd1d5bc commit 7ae6fb2Copy full SHA for 7ae6fb2
src/test/ui/consts/const-size_of-cycle.stderr
@@ -5,6 +5,10 @@ LL | bytes: [u8; std::mem::size_of::<Foo>()]
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
6
|
7
note: ...which requires const-evaluating `Foo::bytes::{{constant}}`...
8
+ --> $SRC_DIR/libcore/mem.rs:LL:COL
9
+ |
10
+LL | intrinsics::size_of::<T>()
11
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
12
note: ...which requires computing layout of `Foo`...
13
note: ...which requires normalizing `ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: All }, value: [u8; _] }`...
14
note: ...which requires const-evaluating + checking `Foo::bytes::{{constant}}`...
0 commit comments