]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/intrinsic_without_const_stab.stderr
Do not suggest `let_else` if no bindings would be introduced
[rust.git] / src / test / ui / consts / intrinsic_without_const_stab.stderr
1 error[E0015]: cannot call non-const fn `copy::copy::<T>` in constant functions
2   --> $DIR/intrinsic_without_const_stab.rs:13:14
3    |
4 LL |     unsafe { copy(src, dst, count) }
5    |              ^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0015`.