]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-38875/issue_38875.stderr
Auto merge of #42716 - alexbool:cstr-inlines, r=BurntSushi
[rust.git] / src / test / ui / issue-38875 / issue_38875.stderr
1 error[E0080]: constant evaluation error
2   --> $DIR/auxiliary/issue_38875_b.rs:11:24
3    |
4 11 | pub const FOO: usize = *&0;
5    |                        ^^^ unimplemented constant expression: deref operation
6    |
7 note: for repeat count here
8   --> $DIR/issue_38875.rs:16:22
9    |
10 16 |     let test_x = [0; issue_38875_b::FOO];
11    |                      ^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error(s)
14