diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-12-22 21:06:32 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-12-23 10:29:38 +0100 |
| commit | 7ae6fb215250d7515cc1ff7545c37d589104eda0 (patch) | |
| tree | 0dd15b8a9668e68cd102e039c6fb12d692a0f633 /src/test/ui | |
| parent | bd1d5bc629ef43eb1574c0904b024bc0f9666616 (diff) | |
| download | rust-7ae6fb215250d7515cc1ff7545c37d589104eda0.tar.gz rust-7ae6fb215250d7515cc1ff7545c37d589104eda0.zip | |
stabilize min_const_unsafe_fn -- revert const-size_of-cycle changes
Diffstat (limited to 'src/test/ui')
| -rw-r--r-- | src/test/ui/consts/const-size_of-cycle.stderr | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/consts/const-size_of-cycle.stderr b/src/test/ui/consts/const-size_of-cycle.stderr index 68f81f408f7..e824657f8af 100644 --- a/src/test/ui/consts/const-size_of-cycle.stderr +++ b/src/test/ui/consts/const-size_of-cycle.stderr @@ -5,6 +5,10 @@ LL | bytes: [u8; std::mem::size_of::<Foo>()] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: ...which requires const-evaluating `Foo::bytes::{{constant}}`... + --> $SRC_DIR/libcore/mem.rs:LL:COL + | +LL | intrinsics::size_of::<T>() + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ note: ...which requires computing layout of `Foo`... note: ...which requires normalizing `ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: All }, value: [u8; _] }`... note: ...which requires const-evaluating + checking `Foo::bytes::{{constant}}`... |
