]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/wasm-custom-section-relocations.stderr
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / wasm-custom-section-relocations.stderr
index 272dd8d524d682329ba05d243b962ff4f4bdd47d..eb8ab2644a330e1451278477495750eb3c2dd541 100644 (file)
@@ -1,13 +1,13 @@
 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
   --> $DIR/wasm-custom-section-relocations.rs:4:1
    |
-LL | pub static A: &[u8] = &[1]; //~ ERROR: no extra levels of indirection
+LL | pub static A: &[u8] = &[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
   --> $DIR/wasm-custom-section-relocations.rs:13:1
    |
-LL | pub static D: &usize = &C; //~ ERROR: no extra levels of indirection
+LL | pub static D: &usize = &C;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: aborting due to 2 previous errors