From a19c516ef6e7f85b70b4c588eba7d07cc36321c7 Mon Sep 17 00:00:00 2001 From: rustbot Date: Mon, 23 May 2022 12:06:45 +0000 Subject: [PATCH] ices/97193.rs: fixed with errors === stdout === === stderr === error: this file contains an unclosed delimiter --> /home/runner/work/glacier/glacier/ices/97193.rs:4:3 | 1 | extern { | - unclosed delimiter 2 | fn a(&mut self) { | - unclosed delimiter 3 | fn b(buf: &Self) { | - this delimiter might not be properly closed... 4 | } | - ^ | | | ...as it matches this but it has different indentation error: incorrect function inside `extern` block --> /home/runner/work/glacier/glacier/ices/97193.rs:2:8 | 1 | extern { | ------ `extern` blocks define existing foreign functions and functions inside of them cannot have a body 2 | fn a(&mut self) { | ________^_____________- | | | | | cannot have a body 3 | | fn b(buf: &Self) { 4 | | } | |__- help: remove the invalid body: `;` | = help: you might have meant to write a function accessible through FFI, which can be done by writing `extern fn` outside of the `extern` block = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html error: `self` parameter is only allowed in associated functions --> /home/runner/work/glacier/glacier/ices/97193.rs:2:10 | 2 | fn a(&mut self) { | ^^^^^^^^^ not semantically valid as function parameter | = note: associated functions are those in `impl` or `trait` definitions error: aborting due to 3 previous errors ============== --- {ices => fixed}/97193.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/97193.rs (100%) diff --git a/ices/97193.rs b/fixed/97193.rs similarity index 100% rename from ices/97193.rs rename to fixed/97193.rs