]> git.lizzy.rs Git - rust.git/blob - src/test/ui/wasm-custom-section-relocations.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / wasm-custom-section-relocations.stderr
1 error: statics with a custom `#[link_section]` must be a simple list of bytes on the wasm target with no extra levels of indirection such as references
2   --> $DIR/wasm-custom-section-relocations.rs:14:1
3    |
4 LL | pub static A: &[u8] = &[1]; //~ ERROR: no extra levels of indirection
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: statics with a custom `#[link_section]` must be a simple list of bytes on the wasm target with no extra levels of indirection such as references
8   --> $DIR/wasm-custom-section-relocations.rs:23:1
9    |
10 LL | pub static D: &usize = &C; //~ ERROR: no extra levels of indirection
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14