]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/wasm-custom-section-relocations.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / wasm-custom-section-relocations.stderr
index 9b96b99e02ae4ebb78c8de511c2dffbbfb8c6b16..cea6e5c41923a1013a1d5e754d7c5ee29829172c 100644 (file)
@@ -1,7 +1,3 @@
-error[E0601]: `main` function not found in crate `wasm_custom_section_relocations`
-   |
-   = note: consider adding a `main` function to `$DIR/wasm-custom-section-relocations.rs`
-
 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:14:1
    |
@@ -14,6 +10,5 @@ error: statics with a custom `#[link_section]` must be a simple list of bytes on
 LL | pub static D: &usize = &C; //~ ERROR: no extra levels of indirection
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-error: aborting due to 3 previous errors
+error: aborting due to 2 previous errors
 
-For more information about this error, try `rustc --explain E0601`.